mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-10 19:21:20 +00:00
ci: simplify steps in test-action-with-specified-dirs
job
This commit is contained in:
parent
495dcb2d38
commit
c18b3b04aa
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@ -101,14 +101,10 @@ jobs:
|
|||||||
source-dir: cmake-action/test
|
source-dir: cmake-action/test
|
||||||
build-dir: output
|
build-dir: output
|
||||||
|
|
||||||
- name: Default Build Directory Should Not Exist
|
|
||||||
shell: bash
|
|
||||||
run: test ! -e build && test ! -e cmake-action/test/build
|
|
||||||
|
|
||||||
- name: Test Project
|
- name: Test Project
|
||||||
uses: threeal/ctest-action@v1.0.0
|
uses: threeal/ctest-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
test-dir: ${{ steps.cmake-action.outputs.build-dir }}
|
test-dir: output
|
||||||
tests-regex: hello_world
|
tests-regex: hello_world
|
||||||
|
|
||||||
test-action-without-run-build:
|
test-action-without-run-build:
|
||||||
|
Loading…
Reference in New Issue
Block a user