parent
e94a3e5fcd
commit
ac82be07d8
4 changed files with 4 additions and 37 deletions
|
|
@ -13,7 +13,7 @@ packages:
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/nim-lang/Nim
|
- https://github.com/nim-lang/Nim
|
||||||
environment:
|
environment:
|
||||||
NIM_TESTAMENT_BATCH: "0_3"
|
NIM_TESTAMENT_BATCH: "0_2"
|
||||||
CC: /usr/bin/clang
|
CC: /usr/bin/clang
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ packages:
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/nim-lang/Nim
|
- https://github.com/nim-lang/Nim
|
||||||
environment:
|
environment:
|
||||||
NIM_TESTAMENT_BATCH: "1_3"
|
NIM_TESTAMENT_BATCH: "1_2"
|
||||||
CC: /usr/bin/clang
|
CC: /usr/bin/clang
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
|
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
## do not edit directly; auto-generated by `nim r tools/ci_generate.nim`
|
|
||||||
|
|
||||||
image: openbsd/latest
|
|
||||||
packages:
|
|
||||||
- gmake
|
|
||||||
- sqlite3
|
|
||||||
- node
|
|
||||||
- boehm-gc
|
|
||||||
- pcre
|
|
||||||
- sfml
|
|
||||||
- sdl2
|
|
||||||
- libffi
|
|
||||||
sources:
|
|
||||||
- https://github.com/nim-lang/Nim
|
|
||||||
environment:
|
|
||||||
NIM_TESTAMENT_BATCH: "2_3"
|
|
||||||
CC: /usr/bin/clang
|
|
||||||
tasks:
|
|
||||||
- setup: |
|
|
||||||
cd Nim
|
|
||||||
git clone --depth 1 -q https://github.com/nim-lang/csources.git
|
|
||||||
gmake -C csources -j $(sysctl -n hw.ncpuonline)
|
|
||||||
bin/nim 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
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
triggers:
|
|
||||||
- action: email
|
|
||||||
condition: failure
|
|
||||||
to: Andreas Rumpf <rumpf_a@web.de>
|
|
||||||
|
|
@ -51,7 +51,8 @@ triggers:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
proc main()=
|
proc main()=
|
||||||
let num = 3
|
# not too large to be resource friendly, refs bug #17107
|
||||||
|
let num = 2
|
||||||
# if you reduce this, make sure to remove files that shouldn't be generated,
|
# if you reduce this, make sure to remove files that shouldn't be generated,
|
||||||
# or better, do the cleanup logic here e.g.: `rm .builds/openbsd_*`
|
# or better, do the cleanup logic here e.g.: `rm .builds/openbsd_*`
|
||||||
for i in 0..<num:
|
for i in 0..<num:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue