-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
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
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 |