Update ci.yml
This commit is contained in:
parent
72a4e23672
commit
e6160afb56
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -139,19 +139,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }}
|
cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }}
|
||||||
|
|
||||||
- name: Copy DLLs to ctest build directory
|
- name: Run Tests
|
||||||
shell: pwsh
|
|
||||||
run: |
|
|
||||||
$dllSourcePath = "build/${{ matrix.config.BUILD_TYPE }}"
|
|
||||||
$dllDestPath = "build/tests"
|
|
||||||
Copy-Item -Path "$dllSourcePath\*.dll" -Destination $dllDestPath -Force
|
|
||||||
|
|
||||||
|
|
||||||
- name: Tests
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
env:
|
||||||
PATH: ${{ env.PATH }};${{ github.workspace }}\build\_deps\catch2-build\src\${{ matrix.config.BUILD_TYPE }};${{ github.workspace }}\build\${{ matrix.config.BUILD_TYPE }}
|
PATH: ${{ env.PATH }};${{ github.workspace }}\build\_deps\catch2-build\src\${{ matrix.config.BUILD_TYPE }};${{ github.workspace }}\build\${{ matrix.config.BUILD_TYPE }}
|
||||||
run: |
|
run: |
|
||||||
ctest -VV -C ${{ matrix.config.BUILD_TYPE }} --test-dir build/tests --no-tests=error --build-config Release
|
build\tests\${{ matrix.config.BUILD_TYPE }}\spdlog-utests.exe
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user