Skip to content

Refactor to create a proper CMake target. #3

Refactor to create a proper CMake target.

Refactor to create a proper CMake target. #3

Workflow file for this run

name: Build Github++
on:
push:
branches: master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: windows-2022
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.7.0
modules:
cache: true
- uses: actions/checkout@v4
- name: Configure Github++ build
shell: pwsh
run: |
cmake --preset vs2022-windows `
"-DCMAKE_PREFIX_PATH=${env:QT_ROOT_DIR}\msvc2019_64" `
"-DCMAKE_INSTALL_PREFIX=install"
- name: Build Github++
run: cmake --build vsbuild --config RelWithDebInfo
- name: Install Github++
run: cmake --install vsbuild --config RelWithDebInfo
- name: Upload Github++ artifact
uses: actions/upload-artifact@master
with:
name: githubpp
path: ./install