Skip to content

Commit 0c810e2

Browse files
🧪 Add test for default cmake options (#227)
1 parent 5c588fc commit 0c810e2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,25 @@ jobs:
3333
cmake . -DTEST:STRING="defaults-enabled" -DCMAKE_FIND_DEBUG_MODE=1
3434
cmake --build .
3535
36+
default-linux-with-examples:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
- uses: lukka/get-cmake@latest
41+
42+
- name: setup
43+
run: |
44+
mkdir build
45+
cd build
46+
cmake ..
47+
sudo cmake --install .
48+
49+
- name: test
50+
run: |
51+
cd tests/cmake
52+
cmake . -DTEST:STRING="defaults-enabled"
53+
cmake --build .
54+
3655
default-win:
3756
runs-on: windows-latest
3857
steps:

0 commit comments

Comments
 (0)