build: Build unit tests again when needed
This commit is contained in:
parent
9cd7b746a6
commit
a05d09ffea
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
-DCMAKE_INSTALL_PREFIX="$PWD/install" \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
|
||||
..
|
||||
make -j 4 install
|
||||
make -j4 unit_tests install
|
||||
|
||||
- name: 🧪 Perform Unit Tests
|
||||
run: |
|
||||
|
@ -1,4 +1,8 @@
|
||||
project(unit_tests)
|
||||
|
||||
add_subdirectory(pattern_language)
|
||||
add_subdirectory(algorithms)
|
||||
add_subdirectory(algorithms)
|
||||
|
||||
add_custom_target(unit_tests
|
||||
DEPENDS pattern_language_tests algorithms_test
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user