freebsd.yml 729 B

1234567891011121314151617181920212223242526272829303132
  1. # see https://man.sr.ht/builds.sr.ht/compatibility.md#freebsd
  2. image: freebsd/latest
  3. packages:
  4. - databases/sqlite3
  5. - devel/boehm-gc-threaded
  6. - devel/pcre
  7. - devel/sdl20
  8. - devel/sfml
  9. - www/node
  10. - devel/gmake
  11. sources:
  12. - https://github.com/nim-lang/Nim
  13. environment:
  14. CC: /usr/bin/clang
  15. tasks:
  16. - setup: |
  17. cd Nim
  18. git clone --depth 1 -q https://github.com/nim-lang/csources.git
  19. gmake -C csources -j $(sysctl -n hw.ncpu)
  20. bin/nim c --skipUserCfg --skipParentCfg koch
  21. echo 'export PATH=$HOME/Nim/bin:$PATH' >> $HOME/.buildenv
  22. - test: |
  23. cd Nim
  24. if ! ./koch runCI; then
  25. nim c -r tools/ci_testresults.nim
  26. exit 1
  27. fi
  28. triggers:
  29. - action: email
  30. condition: failure
  31. to: Andreas Rumpf <rumpf_a@web.de>