CMake/.gitlab/ci/mingw-env.ps1
Brad King 7f9817b7cb Remove unnecessary executable permission from .ps1 scripts
Powershell scripts cannot be launched as commands on Windows.
They must be run through the `powershell` or `pwsh` tool.
2024-04-30 09:33:44 -04:00

6 lines
224 B
PowerShell

$pwdpath = $pwd.Path
& "$pwsh" -File ".gitlab/ci/mingw.ps1"
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\mingw\bin;$pwdpath\.gitlab\mingw\msys\1.0\bin;$env:PATH"
$env:MSYSTEM = 'MINGW32'
$env:MAKE_MODE = 'unix'