[CI] fix recent freebsd systematic failure (#13788)

This commit is contained in:
Timothee Cour 2020-03-27 22:45:22 -07:00 • committed by GitHub
commit 95ab9ab75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,25 @@
# see https://man.sr.ht/builds.sr.ht/compatibility.md#freebsd # see https://man.sr.ht/builds.sr.ht/compatibility.md#freebsd
image: freebsd/latest image: freebsd/latest
packages:
- databases/sqlite3 # packages:
- devel/boehm-gc-threaded # - databases/sqlite3
- devel/pcre # - devel/boehm-gc-threaded
- devel/sdl20 # - devel/pcre
- devel/sfml # - devel/sdl20
- www/node # - devel/sfml
- devel/gmake # - www/node
- devel/git # - devel/gmake
# - devel/git
sources: sources:
- https://github.com/nim-lang/Nim - https://github.com/nim-lang/Nim
environment: environment:
CC: /usr/bin/clang CC: /usr/bin/clang
tasks: tasks:
- setup: | - setup: |
# workaround https://github.com/timotheecour/Nim/issues/76
sudo pkg update -q -f
sudo pkg install -y -q databases/sqlite3 devel/boehm-gc-threaded devel/pcre \
devel/sdl20 devel/sfml www/node devel/gmake devel/git
cd Nim cd Nim
git clone --depth 1 -q https://github.com/nim-lang/csources.git git clone --depth 1 -q https://github.com/nim-lang/csources.git
gmake -C csources -j $(sysctl -n hw.ncpu) gmake -C csources -j $(sysctl -n hw.ncpu)