Skip to content

Commit

Permalink
Another attempt at VCVARSALL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Nov 20, 2024
1 parent 1feb9ee commit 80eafc2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dev-nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe > msbuild_path.txt
set /p MSBUILD_PATH=<msbuild_path.txt
echo VCVARSALL="\"%MSBUILD_PATH%\..\..\..\..\VC\Auxiliary\Build\vcvarsall.bat\"" >> %GITHUB_ENV%
set VCVARSALL=%MSBUILD_PATH%\..\..\..\..\VC\Auxiliary\Build\vcvarsall.bat
echo VCVARSALL=%VCVARSALL% >> %GITHUB_ENV%
echo PYTHON=python >> %GITHUB_ENV%
- name: Build dist assets (Linux)
Expand All @@ -70,7 +71,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: cmd
run: |
call %VCVARSALL% x64
call "%VCVARSALL%" x64
%PYTHON% %GITHUB_WORKSPACE%\scripts\package.py
- name: Test dist assets (Linux)
Expand All @@ -86,5 +87,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
shell: cmd
run: |
call %VCVARSALL% x64
call "%VCVARSALL%" x64
%PYTHON% %GITHUB_WORKSPACE%\scripts\test-dist.py

0 comments on commit 80eafc2

Please sign in to comment.