Fix NetBSD build

This commit is contained in:
Bodigrim 2023-03-28 19:55:06 +01:00
parent 86c39b61bd
commit e1ef45642a

View File

@ -11,6 +11,8 @@ task:
name: OpenBSD
compute_engine_instance:
image_project: pg-ci-images
# OpenBSD version should match
# https://github.com/anarazel/pg-vm-images/blob/main/packer/openbsd.pkrvars.hcl
image: family/pg-ci-openbsd-vanilla-7-2
platform: openbsd
install_script: pkg_add ghc cabal-install git
@ -23,7 +25,9 @@ task:
name: NetBSD
compute_engine_instance:
image_project: pg-ci-images
image: family/pg-ci-netbsd-vanilla-9-2
# NetBSD version should match
# https://github.com/anarazel/pg-vm-images/blob/main/packer/netbsd.pkrvars.hcl
image: family/pg-ci-netbsd-vanilla-9-3
platform: netbsd
install_script:
- export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"