mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-10 03:01:21 +00:00
ci: fix test directory location
This commit is contained in:
parent
7e98dee2e2
commit
998036a1bc
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@ -71,7 +71,6 @@ jobs:
|
|||||||
run: mv test/* .
|
run: mv test/* .
|
||||||
|
|
||||||
- name: Configure and Build Project
|
- name: Configure and Build Project
|
||||||
id: cmake-action
|
|
||||||
uses: ./
|
uses: ./
|
||||||
|
|
||||||
- name: Test Project
|
- name: Test Project
|
||||||
@ -135,6 +134,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: threeal/ctest-action@v1.0.0
|
uses: threeal/ctest-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
|
test-dir: ${{ steps.cmake-action.outputs.build-dir }}
|
||||||
tests-regex: hello_world
|
tests-regex: hello_world
|
||||||
|
|
||||||
- name: Previous Step Should Failed
|
- name: Previous Step Should Failed
|
||||||
@ -159,6 +159,7 @@ jobs:
|
|||||||
sparse-checkout-cone-mode: false
|
sparse-checkout-cone-mode: false
|
||||||
|
|
||||||
- name: Configure and Build Project
|
- name: Configure and Build Project
|
||||||
|
id: cmake-action
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
source-dir: test
|
source-dir: test
|
||||||
@ -170,6 +171,7 @@ jobs:
|
|||||||
- 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 }}
|
||||||
build-config: Debug
|
build-config: Debug
|
||||||
tests-regex: test
|
tests-regex: test
|
||||||
|
|
||||||
@ -194,6 +196,7 @@ jobs:
|
|||||||
uses: seanmiddleditch/gha-setup-ninja@v4
|
uses: seanmiddleditch/gha-setup-ninja@v4
|
||||||
|
|
||||||
- name: Configure and Build Project
|
- name: Configure and Build Project
|
||||||
|
id: cmake-action
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
source-dir: test
|
source-dir: test
|
||||||
@ -206,4 +209,5 @@ jobs:
|
|||||||
- 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 }}
|
||||||
tests-regex: test
|
tests-regex: test
|
||||||
|
Loading…
Reference in New Issue
Block a user