aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/cmake-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/cmake-test.yaml')
-rw-r--r--.github/workflows/cmake-test.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/cmake-test.yaml b/.github/workflows/cmake-test.yaml
new file mode 100644
index 0000000..d6f2549
--- /dev/null
+++ b/.github/workflows/cmake-test.yaml
@@ -0,0 +1,22 @@
+name: CMakeTest
+
+on: [push, workflow_dispatch]
+
+jobs:
+ cmake_test:
+ runs-on: ubuntu-latest
+
+ env:
+ CXX: clang++
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Configure CMake
+ run: cmake .
+
+ - name: Build
+ run: cmake --build .
+
+ - name: Test
+ run: ctest