Skip to content

Commit

Permalink
Set path so DLLs are found
Browse files Browse the repository at this point in the history
  • Loading branch information
bernedom committed Jul 14, 2024
1 parent 5ac54e6 commit d7cee71
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ jobs:
with:
python-version: 3.8

- name: Verify long path
run: |
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled"
- name: install-python-deps
run: |
python3 -m pip install --upgrade pip
Expand All @@ -88,9 +82,13 @@ jobs:
- name: build
run: |
cmake --build --preset=ci-msvc-debug-sanitizer
# Set the path variable so the necessary DLLs are found
shell: cmd
- name: run-msvc-sanitizer
working-directory: build-sanitizer
run: |
set PATH="%PATH%;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64;C:\Program Files\CMake\bin"
echo %PATH%
"C:\Program Files\CMake\bin\ctest.exe" -V --output-on-failure -C Debug
shell: cmd

0 comments on commit d7cee71

Please sign in to comment.