File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : FreeBSD CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ freebsd :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ include :
16
+ - os : [self-hosted, FreeBSD, X64]
17
+ ghc : 9.4.8
18
+ - os : [self-hosted, FreeBSD, X64]
19
+ ghc : 9.6.4
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v3
23
+
24
+ - name : Run build
25
+ run : |
26
+ pkg install -y curl gcc gmp gmake ncurses perl5 libffi libiconv git bash misc/compat10x misc/compat11x misc/compat12x gmake llvm14 bzip2
27
+ export RUNNER_OS=FreeBSD
28
+ export GHCUP_INSTALL_BASE_PREFIX="$GITHUB_WORKSPACE"
29
+ export GHCUP_BIN="$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin"
30
+ export PATH="$GHCUP_BIN:$HOME/.local/bin:$PATH"
31
+ export CABAL_DIR="$GITHUB_WORKSPACE/cabal"
32
+ export TAR_TEST_FILE="${CABAL_DIR}/packages/hackage.haskell.org/01-index.tar"
33
+ export TMPDIR="${GITHUB_WORKSPACE}/tmp"
34
+ export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
35
+ export BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1
36
+ export BOOTSTRAP_HASKELL_GHC_VERSION=${{ matrix.ghc }}
37
+ export BOOTSTRAP_HASKELL_ADJUST_BASHRC=yes
38
+ mkdir -p "${TMPDIR}"
39
+ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
40
+ cabal test all
41
+ cabal bench all
42
+ bash htar/test-large-files.sh
43
+
You can’t perform that action at this time.
0 commit comments