tasty-bench/.cirrus.yml
2024-03-16 23:12:09 +00:00

39 lines
1.1 KiB
YAML

task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-13-2
install_script: pkg install -y ghc hs-cabal-install git
script:
- cabal update
- cabal build
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
script:
- export CABAL_DIR=/tmp/.cabal
- cabal update
- cabal build
task:
name: NetBSD
compute_engine_instance:
image_project: pg-ci-images
# 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/"
- pkg_add ghc cabal-install git
script:
- export CABAL_DIR=/tmp/.cabal
- cabal update
- cabal build