]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
.builds: openbsd/latest updated to 6.9, remove manual Go download
authorSimon Ruderich <simon@ruderich.org>
Sat, 29 May 2021 15:34:57 +0000 (17:34 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 1 Jun 2021 05:59:55 +0000 (07:59 +0200)
.builds/openbsd.yml

index a0d29d9f10e2ee84a6bd9a445980a827a8ddce9d..5ca70d1f13073296cdcf467e5fef2403db4f3985 100644 (file)
@@ -2,21 +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 ..
-      # Remove $HOME hack once Go 1.16 is available
-      doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="
+      doas ./ci/run GOFLAGS=