File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11image : openbsd/latest
22packages :
3+ - gmake
34- sqlite3
45- node
56- boehm-gc
@@ -14,20 +15,15 @@ tasks:
1415- setup : |
1516 cd Nim
1617 git clone --depth 1 -q https://github.com/nim-lang/csources.git
17- cd csources
18- sh build.sh
19- cd ../
18+ gmake -C csources -j $(sysctl -n hw.ncpu)
2019 bin/nim c --skipUserCfg --skipParentCfg koch
21- sed -i'.original' -e 's/cc = gcc/cc = clang/g' config/nim.cfg
2220 echo 'export PATH=$HOME/Nim/bin:$PATH' >> $HOME/.buildenv
2321 - test : |
2422 cd Nim
25- ./koch runCI && exitcode=$? || exitcode=$?
26- if [[ $exitcode -ne 0 ]]; then
23+ if ! ./koch runCI; then
2724 nim c -r tools/ci_testresults.nim
25+ exit 1
2826 fi
29-
30- exit $exitcode
3127triggers :
3228- action : email
3329 condition : failure
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ path="$lib/pure"
153153 @ end
154154@ end
155155
156- @ if macosx or freebsd:
156+ @ if macosx or freebsd or openbsd :
157157 cc = clang
158158 tlsEmulation:on
159159 gcc.options.always = " -w"
You can’t perform that action at this time.
0 commit comments