freebsd.yml (915B)
1 image: freebsd/latest 2 sources: 3 - https://git.sr.ht/~sircmpwn/hare 4 - https://git.sr.ht/~sircmpwn/harec 5 - git://c9x.me/qbe.git 6 packages: 7 - binutils 8 - scdoc 9 triggers: 10 - action: email 11 condition: failure 12 to: "<~sircmpwn/hare-dev@lists.sr.ht>" 13 tasks: 14 - environment: | 15 cd hare 16 if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] 17 then 18 if [ "$GIT_REF" != "refs/heads/master" ] 19 then 20 complete-build 21 fi 22 if [ "$(git remote get-url origin)" != "https://git.sr.ht/~sircmpwn/hare" ] 23 then 24 complete-build 25 fi 26 fi 27 - qbe: | 28 cd qbe 29 make -j2 PREFIX=/usr 30 sudo make install PREFIX=/usr 31 - harec: | 32 cd harec 33 cp configs/freebsd.mk config.mk 34 make -j2 35 sudo make install 36 - hare: | 37 cd hare 38 cp configs/freebsd.mk config.mk 39 make -j2 40 sudo make install 41 - check: | 42 cd hare 43 make -j2 check 44 - check_with_libc: | 45 cd hare 46 hare test -lc