-
Notifications
You must be signed in to change notification settings - Fork 12
/
.cirrus.yml
38 lines (36 loc) · 1.16 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-14-0
install_script:
- pkg install -y git gmake
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
script:
- export PATH="$HOME/.ghcup/bin:$PATH"
- cabal build
task:
name: OpenBSD
compute_engine_instance:
image_project: pg-ci-images
# See https://github.com/anarazel/pg-vm-images/blob/main/packer/openbsd.pkrvars.hcl
image: family/pg-ci-openbsd-vanilla
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
# See https://github.com/anarazel/pg-vm-images/blob/main/packer/netbsd.pkrvars.hcl
image: family/pg-ci-netbsd-vanilla
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