-
Notifications
You must be signed in to change notification settings - Fork 7
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
1 parent
fa40a1d
commit 40d936c
Showing
1 changed file
with
34 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,34 @@ | ||
name: ci-i386 | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
i386: | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 30 | ||
container: | ||
image: i386/ubuntu:bionic | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-22.04] | ||
steps: | ||
- name: Install | ||
run: | | ||
apt-get update -y | ||
apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev | ||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh | ||
- uses: actions/checkout@v1 | ||
- name: Test | ||
run: | | ||
source ~/.ghcup/env | ||
cabal update | ||
cabal configure --enable-tests -j2 all | ||
cabal test |