summary refs log tree commit diff stats
path: root/.builds/openbsd_0.yml
diff options
context:
space:
mode:
Diffstat (limited to '.builds/openbsd_0.yml')
-rw-r--r--.builds/openbsd_0.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.builds/openbsd_0.yml b/.builds/openbsd_0.yml
index c09f0f08d..e1d85d2a7 100644
--- a/.builds/openbsd_0.yml
+++ b/.builds/openbsd_0.yml
@@ -17,15 +17,15 @@ environment:
   CC: /usr/bin/clang
 tasks:
 - setup: |
+    set -e
     cd Nim
-    git clone --depth 1 -q https://github.com/nim-lang/csources_v1.git csources
-    gmake -C csources -j $(sysctl -n hw.ncpuonline)
-    bin/nim c koch
+    . ci/funs.sh && nimBuildCsourcesIfNeeded
+    $nim_csources c koch
     echo 'export PATH=$HOME/Nim/bin:$PATH' >> $HOME/.buildenv
 - test: |
     cd Nim
     if ! ./koch runCI; then
-      nim c -r tools/ci_testresults.nim
+      nim r tools/ci_testresults.nim
       exit 1
     fi
 triggers: