mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
Fix CI
This commit is contained in:
parent
f047fae104
commit
56429d4ad0
@ -15,7 +15,7 @@ build:windows:
|
||||
# https://gist.github.com/justinian/81a2e55c89e8301a8a96
|
||||
# https://stackoverflow.com/questions/2124753/how-can-i-use-powershell-with-the-visual-studio-command-prompt
|
||||
- $tempFile = [IO.Path]::GetTempFileName()
|
||||
- cmd /c " `"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvars32.bat`" && set > `"$tempFile`" "
|
||||
- cmd /c " `"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat`" && set > `"$tempFile`" "
|
||||
- Get-Content $tempFile | Foreach-Object {if($_ -match "^(.*?)=(.*)$"){Set-Content "env:\$($matches[1])" $matches[2]}}
|
||||
- Remove-Item $tempFile
|
||||
- $Env:Path += ';C:\Qt\5.14.0\msvc2017_64\bin'
|
||||
|
Loading…
Reference in New Issue
Block a user