CMake/.gitlab/ci/orangec-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

9 lines
271 B
PowerShell

Invoke-Expression -Command .gitlab/ci/orangec.ps1
$pwdpath = $pwd.Path
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\orangec\bin;$env:PATH"
Set-Item -Force -Path "env:ORANGEC" -Value "$pwdpath\.gitlab\orangec"
$env:CC = "occ"
$env:CXX = "occ"
occ --version