X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=.builds%2Fopenbsd.yml;h=5ca70d1f13073296cdcf467e5fef2403db4f3985;hb=HEAD;hp=6ba273e799e9bec8399c4d861490d3e883d51a32;hpb=7c4e5d64e25acec7209a54a15836b4481c450416;p=safcm%2Fsafcm.git diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index 6ba273e..5ca70d1 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -2,16 +2,13 @@ image: openbsd/latest packages: - go - gmake - - xz + - shellcheck tasks: - all: | - # OpenBSD 6.8 only ships with Go 1.15 - curl -O https://ruderich.eu/go-1.16.3-openbsd-amd64.tar.xz - xz -d go-1.16.3-openbsd-amd64.tar.xz - tar xf go-1.16.3-openbsd-amd64.tar - mv go-1.16.3 go - # doas ln -sf /usr/local/bin/gmake /usr/bin/make 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 .. + doas ./ci/run GOFLAGS=