Skip to content

Commit

Permalink
i386 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen committed Sep 10, 2023
1 parent 299bb3e commit 8011748
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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

0 comments on commit 8011748

Please sign in to comment.