Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime authored Nov 2, 2024
1 parent 40d6bdb commit 3a8940f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,16 @@ jobs:
run: |
cd build
cmake --build . --parallel --config ${{ matrix.config.BUILD_TYPE }}
- name: Tests
- name: Copy DLLs to ctest build directory
shell: pwsh
run: |
$DLL_PATH = Join-Path -Path (Get-Location) -ChildPath "build/Release"
$env:Path += ';' + $env:DLL_PATH
echo "Path=$env:Path" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
ctest -VV -C ${{ matrix.config.BUILD_TYPE }} --test-dir build/tests --no-tests=error
$dllSourcePath = "build/${{ matrix.config.BUILD_TYPE }}"
$dllDestPath = "build/tests"
Copy-Item -Path "$dllSourcePath\*.dll" -Destination $dllDestPath -Force
- name: Tests
shell: pwsh
run: |
ctest -VV -C ${{ matrix.config.BUILD_TYPE }} --test-dir build/tests --no-tests=error --build-config Release

0 comments on commit 3a8940f

Please sign in to comment.