Skip to content

Commit b104a7f

Browse files
committed
Restore NetBSD CI job
1 parent 1ee6c6f commit b104a7f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.cirrus.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ task:
1212
name: OpenBSD
1313
compute_engine_instance:
1414
image_project: pg-ci-images
15+
# OpenBSD version should match
16+
# https://github.com/anarazel/pg-vm-images/blob/main/packer/openbsd.pkrvars.hcl
1517
image: family/pg-ci-openbsd-vanilla-7-2
1618
platform: openbsd
1719
install_script: pkg_add ghc cabal-install git autoconf-2.71
@@ -24,3 +26,24 @@ task:
2426
- autoreconf -i
2527
- cabal test --test-show-details=direct
2628

29+
task:
30+
name: NetBSD
31+
compute_engine_instance:
32+
image_project: pg-ci-images
33+
# NetBSD version should match
34+
# https://github.com/anarazel/pg-vm-images/blob/main/packer/netbsd.pkrvars.hcl
35+
image: family/pg-ci-netbsd-vanilla-9-3
36+
platform: netbsd
37+
install_script:
38+
# Folders should be updated in line with
39+
# http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/
40+
- 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/"
41+
- pkg_add ghc cabal-install git autoconf
42+
script:
43+
- export CABAL_DIR=/tmp/.cabal
44+
- ghc --version
45+
- cabal --version
46+
- cabal update
47+
- autoreconf -i
48+
# Select a build plan which does not involve 'text'
49+
- cabal test --test-show-details=direct --constraint 'text < 0'

0 commit comments

Comments
 (0)