mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Update build.yml
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -180,6 +180,18 @@ jobs:
|
||||
$pip install --upgrade pip $pipoptions
|
||||
$pip install wheel $pipoptions
|
||||
|
||||
- name: Set Windows Powershell env variables
|
||||
if: matrix.goal != 'test' && matrix.os == 'windows-2022'
|
||||
shell: powershell
|
||||
run: |
|
||||
cmd /c 'call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && set MAKE=nmake && set > %temp%\vcvars.txt'
|
||||
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
||||
if ($_ -match "^(.*?)=(.*)$") {
|
||||
Set-Content "env:\$($matches[1])" $matches[2]
|
||||
Add-Content -Path $env:GITHUB_ENV -Value "$($matches[1])=$($matches[2])"
|
||||
}
|
||||
}
|
||||
|
||||
- name: Install PyInstaller
|
||||
if: matrix.goal != 'test'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user