aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSteveGremory <[email protected]>2022-06-06 20:58:22 +0530
committerJack O'Connor <[email protected]>2023-05-01 01:00:59 -0700
commitd7f43a339a58a5a47db181bf150db1eeb80f9a9c (patch)
treebd88221efb13c75b788c729974b6585603ee9b88 /.github
parentb0a3863c06584d9a1a50d5a8c51ae88d7f8ecb96 (diff)
Added CI Support for the CMake build, Linux/macOS only (for now)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 399c042..bc0af44 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -275,3 +275,20 @@ jobs:
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
cd /work
~/.cargo/bin/cargo test --features prefer_intrinsics
+
+ # CMake build test (Library only), current macOS/Linux only.
+ cmake_build:
+ name: CMake ${{ matrix.target.os }}
+ runs-on: ${{ matrix.target.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: ["ubuntu-latest", "macOS-latest"]
+ steps:
+ - uses: actions/checkout@v3
+ - name: CMake generation
+ run: cmake . -Bbuild
+ working-directory: ./c
+ - name: CMake build
+ run: cmake --build build/
+ working-directory: ./c