mirror of
https://github.com/ModOrganizer2/githubpp.git
synced 2026-07-27 14:04:49 -07:00
40 lines
911 B
YAML
40 lines
911 B
YAML
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
|