mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-08 18:21:20 +00:00
ci: fix by specified test configuration on Windows
This commit is contained in:
parent
09bf642a9f
commit
4e05d6cf4f
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Try to test the project
|
||||
id: failed-step
|
||||
continue-on-error: true
|
||||
run: ctest --test-dir build --output-on-failure --no-tests=error -R hello_world
|
||||
run: ctest --test-dir build --output-on-failure --no-tests=error -R hello_world ${{ matrix.os == 'windows' && '-C Debug' || '' }}
|
||||
|
||||
- name: Check on success
|
||||
if: steps.failed-step.outcome == 'success'
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
- name: Build and test the project
|
||||
run: |
|
||||
cmake --build build
|
||||
ctest --test-dir build --output-on-failure --no-tests=error -R hello_world
|
||||
ctest --test-dir build --output-on-failure --no-tests=error -R hello_world ${{ matrix.os == 'windows' && '-C Debug' || '' }}
|
||||
|
||||
specified-dir-usage:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user