Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-14-2
image_family: freebsd-14-3
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
Expand All @@ -18,7 +18,11 @@ task:
platform: openbsd
install_script: pkg_add ghc cabal-install git
script:
- export CABAL_DIR=/tmp/.cabal
# OpenBSD image has separate /home partition, / is small
# as we run everything as root, we run out space
# we hack around making cabal write its stuff in /home
- mkdir -p /home/cabal
- ln -s /home/cabal $HOME/.cabal
- cabal update
# For some reason the job fails with -O2 optimization level,
# probably because of lack of disk space.
Expand Down