summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2020-12-10 08:37:42 (GMT)
committerGregor Jasny <gjasny@googlemail.com>2020-12-11 07:36:26 (GMT)
commit721db105e6bd5844f007d1c414363e3ca406bfb8 (patch)
treef7d27b7503044cc851b9756d6fdaef1f3ae3c834 /.github/workflows
parent58f77f972bcece256c16ca1cc4a933270b1ea1c1 (diff)
downloadNinja-721db105e6bd5844f007d1c414363e3ca406bfb8.zip
Ninja-721db105e6bd5844f007d1c414363e3ca406bfb8.tar.gz
Ninja-721db105e6bd5844f007d1c414363e3ca406bfb8.tar.bz2
cmake: Use modern add_test signature
Using this modern signature makes CMake/CTest use the effective binary path and works also with multi-config generators which put binaries in extra `Release` folders.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/macos.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 4ea958f..af79080 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -26,7 +26,7 @@ jobs:
cmake --build build --config Release
- name: Test ninja
- run: ctest -vv
+ run: ctest -C Release -vv
working-directory: build
- name: Create ninja archive