Skip to content

Commit 5cc876c

Browse files
committedJun 25, 2023
Fix CI job
1 parent 08d4ddd commit 5cc876c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Tests
33
on: [push, pull_request]
44

55
jobs:
6-
trex:
6+
tests:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, windows-latest, macos-latest]
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v3
1414

1515
- name: Configure CMake
16-
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
16+
run: cmake -B ${{ github.workspace }}/tests/build -S ${{ github.workspace }}/tests -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
1717

1818
- name: Build
19-
run: cmake --build ${{ github.workspace }}/build --config ${{ matrix.build_type }}
19+
run: cmake --build ${{ github.workspace }}/tests/build --config ${{ matrix.build_type }}
2020

2121
- name: Test
22-
run: ctest --test-dir ${{ github.workspace }}/build --output-on-failure
22+
run: ctest --test-dir ${{ github.workspace }}/tests/build --output-on-failure

0 commit comments

Comments
 (0)
Please sign in to comment.