-
Notifications
You must be signed in to change notification settings - Fork 90
/
.cirrus.yml
47 lines (45 loc) · 1.55 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
39
40
41
42
43
44
45
46
47
# task:
# name: FreeBSD
# freebsd_instance:
# image_family: freebsd-13-2
# install_script: pkg install -y ghc hs-cabal-install git autoconf
# script:
# - cabal update
# - autoreconf -i
# - cabal test --test-show-details=direct
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 autoconf-2.71
script:
- export AUTOCONF_VERSION=2.71
- export CABAL_DIR=/tmp/.cabal
- ghc --version
- cabal --version
- cabal update
- autoreconf -i
- cabal test --test-show-details=direct
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:
# Folders should be updated in line with
# http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/
- export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/;http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0_2023Q1/All/"
- pkg_add ghc cabal-install git autoconf
script:
- export CABAL_DIR=/tmp/.cabal
- ghc --version
- cabal --version
- cabal update
- autoreconf -i
# Select a build plan which does not involve 'text'
- cabal test --test-show-details=direct --constraint 'text < 0'