Update ci.yml

pull/3239/head
Gabi Melman 10 months ago committed by GitHub
parent 40d6bdb2e3
commit 3a8940fa8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -140,11 +140,15 @@ 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
shell: pwsh
run: |
$dllSourcePath = "build/${{ matrix.config.BUILD_TYPE }}"
$dllDestPath = "build/tests"
Copy-Item -Path "$dllSourcePath\*.dll" -Destination $dllDestPath -Force
- name: Tests - name: Tests
shell: pwsh shell: pwsh
run: | run: |
$DLL_PATH = Join-Path -Path (Get-Location) -ChildPath "build/Release" ctest -VV -C ${{ matrix.config.BUILD_TYPE }} --test-dir build/tests --no-tests=error --build-config 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

Loading…
Cancel
Save