Skip to content

Commit

Permalink
fix make invocation
Browse files Browse the repository at this point in the history
BUILD_TESTS_HEADLESS wasn't passed properly, should be at make, no cmake
  • Loading branch information
FolkertVanVerseveld committed Feb 7, 2024
1 parent 553bb79 commit 2dff575
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
with:
submodules: true
- name: configure
run: mkdir build && cd build && cmake ../ -DBUILD_TESTS_HEADLESS=1
run: mkdir build && cd build && cmake ../
- name: make testempires
run: cd build && make testempires
run: cd build && make testempires -DBUILD_TESTS_HEADLESS=1
- name: run
run: ./build/testempires
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ project(${GAME_TARGET}
)

option(BUILD_TESTS "Build unit tests" ON)
option(BUILD_TESTS_HEADLESS "Only run headless unit tests" OFF)

set(TEST_TARGET "testempires")

Expand Down

0 comments on commit 2dff575

Please sign in to comment.