summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/orangec-env.ps1
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/orangec-env.ps1')
-rwxr-xr-x.gitlab/ci/orangec-env.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab/ci/orangec-env.ps1 b/.gitlab/ci/orangec-env.ps1
new file mode 100755
index 0000000..3a5d232
--- /dev/null
+++ b/.gitlab/ci/orangec-env.ps1
@@ -0,0 +1,8 @@
+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