forked from haskell/text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
44 lines (42 loc) · 1.52 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
task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-13-2
# See https://github.com/haskell/text/pull/475#issuecomment-1272359694
install_script:
- sed -i.bak -e 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
- pkg install -y ghc hs-cabal-install git llvm14
script:
- cabal update
- cabal test --test-show-details=direct --ghc-options='-pgmc clang++14'
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 test --test-show-details=direct
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:
# 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/"
- echo $PKG_PATH
- pkg_add ghc cabal-install git
script:
- export CABAL_DIR=/tmp/.cabal
- cabal update
- cabal test --test-show-details=direct