openbsd.yml (1049B)
1 image: openbsd/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 - git 10 triggers: 11 - action: email 12 condition: failure 13 to: "<~sircmpwn/hare-dev@lists.sr.ht>" 14 tasks: 15 - environment: | 16 cd hare 17 if [ "$BUILD_SUBMITTER" = "git.sr.ht" ] 18 then 19 if [ "$GIT_REF" != "refs/heads/master" ] 20 then 21 complete-build 22 fi 23 if [ "$(git remote get-url origin)" != "https://git.sr.ht/~sircmpwn/hare" ] 24 then 25 complete-build 26 fi 27 fi 28 - qbe: | 29 cd qbe 30 make -j2 PREFIX=/usr 31 doas make install PREFIX=/usr 32 - harec: | 33 cd harec 34 cp configs/openbsd.mk config.mk 35 make -j2 36 doas make install 37 - hare: | 38 cd hare 39 cp configs/openbsd.mk config.mk 40 make -j2 41 doas make install 42 # remove once openbsd-7.5 is out. leap-seconds.list was after 7.4 43 - leapseconds: | 44 cd /usr/share/zoneinfo 45 doas ftp https://data.iana.org/time-zones/tzdb/leap-seconds.list 46 - check: | 47 cd hare 48 make -j2 check