# see https://man.sr.ht/builds.sr.ht/compatibility.md#freebsd image: freebsd/latest packages: - databases/sqlite3 - devel/boehm-gc-threaded - devel/pcre - devel/sdl20 - devel/sfml - www/node - devel/gmake sources: - https://github.com/nim-lang/Nim environment: 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.ncpu) bin/nim c --skipUserCfg --skipParentCfg 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