Add Github CI action.

This commit is contained in:
Mikaël Capelle
2024-07-09 14:17:30 +02:00
parent 0f97eaa593
commit 50604ac900
+30
View File
@@ -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