Skip to content

Commit

Permalink
Add VS env to sanitizer test
Browse files Browse the repository at this point in the history
  • Loading branch information
MEhrn00 committed Feb 25, 2024
1 parent 50b618d commit 478fee3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ jobs:
if: ${{ runner.os == 'Windows' }}
working-directory: ${{ env.AGENT_CODE }}
run: |
$vspath = (Get-VSSetupInstance | Select-VSSetupInstance -Require Microsoft.VisualStudio.Component.VC.ASAN).InstallationPath
Import-Module $vspath/Common7/Tools/Microsoft.VisualStudio.DevShell.dll
Enter-VsDevShell -VsInstallPath $vspath -SkipAutomaticLocation
$env:PATH="$env:PATH;$env:VCToolsInstallDir/bin/Hostx64/x64"
cargo +nightly test --color always -p ffiwrappers --all-features --target $env:TARGET
env:
Expand Down

0 comments on commit 478fee3

Please sign in to comment.