mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +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 --upgrade pip $pipoptions
|
||||||
$pip install wheel $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
|
- name: Install PyInstaller
|
||||||
if: matrix.goal != 'test'
|
if: matrix.goal != 'test'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user