From 2a4aeec1a7c531f81488eef0d70460a92b0ebb04 Mon Sep 17 00:00:00 2001 From: Luke Olson Date: Sun, 19 Nov 2023 12:15:46 -0600 Subject: [PATCH] add ci through gh actions --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..afefbce8 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: ci + +env: + CTEST_NO_TEST_ACTION: error + HOMEBREW_NO_INSTALL_CLEANUP: 1 + +on: + push: + +jobs: + core: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Configure code + run: cmake -Bbuild + - name: Build code + run: cmake --build build --parallel + - name: Test code + run: ctest --test-dir build -V