mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-09 02:31:21 +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
|
- name: Try to test the project
|
||||||
id: failed-step
|
id: failed-step
|
||||||
continue-on-error: true
|
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
|
- name: Check on success
|
||||||
if: steps.failed-step.outcome == 'success'
|
if: steps.failed-step.outcome == 'success'
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
- name: Build and test the project
|
- name: Build and test the project
|
||||||
run: |
|
run: |
|
||||||
cmake --build build
|
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:
|
specified-dir-usage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user