.gitlab-ci.yml: Split powershell commands

This commit is contained in:
Luke Street 2020-05-27 13:49:59 -04:00
parent 2ec89dbde5
commit 336c88155d
1 changed files with 1 additions and 1 deletions

View File

@ -118,8 +118,8 @@ build:linux:avx2:
tags:
- win32
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 {
if ($_ -match "^(.*?)=(.*)$") {
Set-Content "env:\$($matches[1])" $matches[2]