Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix emulated jobs + use ghcup on FreeBSD #622

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
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
19 changes: 8 additions & 11 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@ task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-14-0
# 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
- 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:
- cabal update
- cabal test --test-show-details=direct --ghc-options='-pgmc clang++14'
- export PATH="$HOME/.ghcup/bin:$PATH"
- cabal test --test-show-details=direct

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
# 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:
Expand All @@ -28,9 +26,8 @@ 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
# 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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/emulated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
arch: ['s390x', 'ppc64le']
steps:
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2.5.0
- uses: uraimo/run-on-arch-action@v2.8.1
timeout-minutes: 60
with:
arch: ${{ matrix.arch }}
Expand Down
Loading