Skip to content

Commit 180308f

Browse files
committed
Test in-tree builds
This adds one in-tree build test for each platform, to ensure our CMake build system works both out-of-tree as well as in-tree.
1 parent 5a2183e commit 180308f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,10 @@ jobs:
5959

6060
- name: test
6161
run: cmake --build build --target test
62+
63+
- name: Test in-tree builds
64+
if: contains( matrix.gcc_v, '9') # Only test one compiler on each platform
65+
run: |
66+
cmake .
67+
cmake --build .
68+
cmake --build . --target test

0 commit comments

Comments
 (0)