Skip to content

Commit

Permalink
i386 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen committed Jun 12, 2023
1 parent fe0aac0 commit db7d049
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:stable
strategy:
fail-fast: false
matrix:
ghc:
- 9.6.2
- 9.4.5
- 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 libffi7 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 db7d049

Please sign in to comment.