X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=.builds%2Fopenbsd.yml;h=a0d29d9f10e2ee84a6bd9a445980a827a8ddce9d;hb=f2751eae5450ed7dd8064cb8072ae4ee1796989f;hp=6ba273e799e9bec8399c4d861490d3e883d51a32;hpb=7c4e5d64e25acec7209a54a15836b4481c450416;p=safcm%2Fsafcm.git diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index 6ba273e..a0d29d9 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -3,6 +3,7 @@ packages: - go - gmake - xz + - shellcheck tasks: - all: | # OpenBSD 6.8 only ships with Go 1.15 @@ -15,3 +16,7 @@ tasks: cd safcm # Go does not yet support -race on OpenBSD ./ci/run GOFLAGS= + # Also run all tests as root (-R and -h conflict on OpenBSD) + doas chown -R root:wheel .. + # Remove $HOME hack once Go 1.16 is available + doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="