Skip to content

Commit f852329

Browse files
committed
Add FreeBSD
1 parent 6c567f5 commit f852329

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,26 @@ jobs:
138138
cabal bench
139139
env:
140140
HOMEBREW_CHANGE_ARCH_TO_ARM: 1
141+
142+
freebsd:
143+
runs-on: ${{ matrix.os }}
144+
strategy:
145+
fail-fast: false
146+
matrix:
147+
include:
148+
- os: [self-hosted, FreeBSD, X64]
149+
ghc: 9.4.8
150+
- os: [self-hosted, FreeBSD, X64]
151+
ghc: 9.6.4
152+
steps:
153+
- name: Checkout code
154+
uses: actions/checkout@v3
155+
156+
- name: Run build
157+
run: |
158+
pkg install -y curl gcc gmp gmake ncurses perl5 libffi libiconv git bash misc/compat10x misc/compat11x misc/compat12x gmake llvm14
159+
. .github/scripts/env.sh
160+
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 BOOTSTRAP_HASKELL_GHC_VERSION=${{ matrix.ghc }} BOOTSTRAP_HASKELL_ADJUST_BASHRC=yes sh
161+
cabal test
162+
cabal bench
163+

0 commit comments

Comments
 (0)