mirror of https://github.com/ninja-build/ninja.git
GitHub Actions: Remove usage of CTest
It seems that new versions of CTest now require case-sensitive arguments, resulting in an "unknown argument" error for "-vv", while documentation shows the argument for the full verbosity option as "-VV". In CMakeLists.txt, there is currently only 1 test registered to CMake with add_test(), and that is to run the ninja_test binary. Since using CTest is not reducing the number of commands used for testing, fix the testing invocation by replacing CTest with a direct run of the test. Signed-off-by: Michael Pratt <mcpratt@pm.me>
This commit is contained in:
parent
dcefb83853
commit
6e77cdf3a0
|
@ -24,9 +24,9 @@ jobs:
|
|||
cmake -Bbuild -GXcode '-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64'
|
||||
cmake --build build --config Release
|
||||
|
||||
- name: Test ninja
|
||||
run: ctest -C Release -vv
|
||||
working-directory: build
|
||||
- name: Test ninja (Release)
|
||||
run: ./ninja_test
|
||||
working-directory: build/Release
|
||||
|
||||
- name: Create ninja archive
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in New Issue