|
|
@ -140,18 +140,11 @@ jobs:
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|