aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..f91d7f4
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,23 @@
+name: Build
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+
+jobs:
+ build:
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ preset: [x64-debug, x64-release]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Configure
+ run: cmake --preset ${{ matrix.preset }}
+
+ - name: Build
+ run: cmake --build out/build/${{ matrix.preset }}