Update ci.yml

This commit is contained in:
Gabi Melman 2024-11-02 13:05:30 +02:00 committed by GitHub
parent 72a4e23672
commit e6160afb56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,19 +139,12 @@ jobs:
run: |
cd build
cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }}
- name: Copy DLLs to ctest build directory
shell: pwsh
run: |
$dllSourcePath = "build/${{ matrix.config.BUILD_TYPE }}"
$dllDestPath = "build/tests"
Copy-Item -Path "$dllSourcePath\*.dll" -Destination $dllDestPath -Force
- name: Tests
- name: Run Tests
shell: pwsh
env:
PATH: ${{ env.PATH }};${{ github.workspace }}\build\_deps\catch2-build\src\${{ matrix.config.BUILD_TYPE }};${{ github.workspace }}\build\${{ matrix.config.BUILD_TYPE }}
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