From 50d36e720a7874e657a6af1c6b640babefc8a8f7 Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Thu, 10 Nov 2022 22:34:42 +0000 Subject: [PATCH] .cirrus.yml: Add task to test on NetBSD. --- .cirrus.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 712bdcca..d9f66d90 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -37,6 +37,18 @@ test_task: pkg install -y curl curl -L -o go.tar.gz https://go.dev/dl/go$GO_VERSION.freebsd-amd64.tar.gz tar -C /usr/local -xf go.tar.gz + - name: Test on NetBSD + compute_engine_instance: + image_project: pg-ci-images + image: family/pg-ci-netbsd-vanilla + platform: netbsd + env: + GO_PKG: go118 + PATH: /usr/pkg/$GOPKG/bin:$PATH + go_pkg_cache: + fingerprint_key: $GO_PKG + folder: /usr/pkg/$GO_PKG + populate_script: pkgin -y install $GO_PKG go_version_script: go version test_script: go test $TEST_FLAG ./...