image: openbsd/latest packages: - gmake - sqlite3 - node - boehm-gc - pcre - sfml - sdl2 - libffi 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.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