8 # OpenBSD 6.8 only ships with Go 1.15
9 curl -O https://ruderich.eu/go-1.16.3-openbsd-amd64.tar.xz
10 xz -d go-1.16.3-openbsd-amd64.tar.xz
11 tar xf go-1.16.3-openbsd-amd64.tar
14 doas ln -sf /usr/local/bin/gmake /usr/bin/make
16 # Go does not yet support -race on OpenBSD
18 # Also run all tests as root (-R and -h conflict on OpenBSD)
19 doas chown -R root:wheel ..
20 # Remove $HOME hack once Go 1.16 is available
21 doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="