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