diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index cd317d5..ddfa0ae 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -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 @@ -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 \ No newline at end of file