mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
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: |
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user