Skip to content

Commit

Permalink
ci:windows: use CTest command like other CI OS
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Apr 16, 2024
1 parent 51ccd98 commit dcbf509
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,18 @@ jobs:
run: choco install re2c

- name: Build ninja
shell: bash
run: |
cmake -Bbuild -A ${{ matrix.arch }}
cmake --build build --parallel --config Debug
cmake --build build --parallel --config Release
- name: Test ninja (Debug)
if: matrix.arch != 'arm64'
run: .\ninja_test.exe
working-directory: build/Debug
run: ctest --test-dir build -C Debug -V

- name: Test ninja (Release)
if: matrix.arch != 'arm64'
run: .\ninja_test.exe
working-directory: build/Release
run: ctest --test-dir build -C Release -V

- name: Create ninja archive
shell: bash
Expand Down

0 comments on commit dcbf509

Please sign in to comment.