mirror of https://github.com/AxioDL/metaforce.git
.gitlab-ci.yml: Split powershell commands
This commit is contained in:
parent
2ec89dbde5
commit
336c88155d
|
@ -118,8 +118,8 @@ build:linux:avx2:
|
||||||
tags:
|
tags:
|
||||||
- win32
|
- win32
|
||||||
script:
|
script:
|
||||||
|
- cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
||||||
- >
|
- >
|
||||||
cmd.exe /c "call `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat`" && set > %temp%\vcvars.txt"
|
|
||||||
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
|
||||||
if ($_ -match "^(.*?)=(.*)$") {
|
if ($_ -match "^(.*?)=(.*)$") {
|
||||||
Set-Content "env:\$($matches[1])" $matches[2]
|
Set-Content "env:\$($matches[1])" $matches[2]
|
||||||
|
|
Loading…
Reference in New Issue