
Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
9 lines
271 B
PowerShell
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
|