Skip to content

Commit

Permalink
initial actions attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhhughes committed Jul 6, 2024
1 parent b39bd21 commit 176dab1
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cmake.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Native CMake Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
# checkout the code
- uses: actions/checkout@v4
# setup package dependencies
- name: Dependencies
run: |
sudo apt install libgtest-dev libeigen3-dev nlohmann-json3-dev
# configure repo
- name: Configure
run: |
cmake -B ${{github.workspace}}/build
-DCMAKE_BUILD_TYPE=Release
-DSPARK_DSG_BUILD_TESTS=ON
-DSPARK_DSG_BUILD_PYTHON=ON
-DSPARK_DSG_BUILD_EXAMPLES=ON
# build repo
- name: Build
run: cmake --build ${{github.workspace}}/build --config Release
# run unit tests
- name: Test
run: ctest -C Release

0 comments on commit 176dab1

Please sign in to comment.