Skip to content

Commit

Permalink
🧪 Add test for default cmake options (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc authored May 12, 2022
1 parent 5c588fc commit 0c810e2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,25 @@ jobs:
cmake . -DTEST:STRING="defaults-enabled" -DCMAKE_FIND_DEBUG_MODE=1
cmake --build .
default-linux-with-examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: lukka/get-cmake@latest

- name: setup
run: |
mkdir build
cd build
cmake ..
sudo cmake --install .
- name: test
run: |
cd tests/cmake
cmake . -DTEST:STRING="defaults-enabled"
cmake --build .
default-win:
runs-on: windows-latest
steps:
Expand Down

0 comments on commit 0c810e2

Please sign in to comment.