aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/cmake.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cmake.yml')
-rw-r--r--.github/workflows/cmake.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
new file mode 100644
index 0000000..e1b9cb8
--- /dev/null
+++ b/.github/workflows/cmake.yml
@@ -0,0 +1,20 @@
+name: CMake Builds
+
+on:
+ push:
+ pull_request:
+
+jobs:
+ build:
+ runs-on: $ {{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Configure CMake
+ run: cmake -B build -S .
+ - name: Build
+ run: cmake --build build