Fix 32 bit compilation #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Other CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
i386: | |
name: i386 - ${{ matrix.ghc }} | |
runs-on: ubuntu-latest | |
container: | |
image: i386/debian:bookworm | |
strategy: | |
fail-fast: false | |
matrix: | |
ghc: | |
- 9.6.2 | |
- 9.4.7 | |
- 9.2.8 | |
- 9.0.2 | |
- 8.10.7 | |
- 8.8.4 | |
- 8.6.5 | |
- 8.4.4 | |
steps: | |
- name: Install system dependencies | |
run: | | |
apt-get update -y | |
apt-get install -y build-essential curl libffi-dev libffi8 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 | |
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh | |
env: | |
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1 | |
BOOTSTRAP_HASKELL_INSTALL_NO_STACK: 1 | |
BOOTSTRAP_HASKELL_GHC_VERSION: ${{ matrix.ghc }} | |
- uses: actions/checkout@v1 | |
- name: Test | |
run: | | |
. ~/.ghcup/env | |
# benchmarks don't build due to a transitive dep on basement | |
# https://github.com/haskell-foundation/foundation/issues/565 | |
cabal configure --enable-tests | |
cabal build all | |
cabal test all --test-show-details=direct |