mirror of
https://github.com/ModOrganizer2/githubpp.git
synced 2026-07-27 14:04:49 -07:00
Add Github CI action.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: Build Github++
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Github++ build
|
||||
shell: pwsh
|
||||
run: |
|
||||
cmake --preset vs2022-windows "-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
|
||||
Reference in New Issue
Block a user