File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -199,3 +199,48 @@ jobs:
199199 else
200200 stack $STACK_ARGS test --bench --no-run-benchmarks --haddock --no-haddock-deps
201201 fi
202+
203+ i386 :
204+ runs-on : ubuntu-latest
205+ container :
206+ image : i386/ubuntu:bionic
207+ steps :
208+ - name : Install
209+ run : |
210+ apt-get update -y
211+ apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev
212+ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
213+ - uses : actions/checkout@v1
214+ - name : Test
215+ run : |
216+ source ~/.ghcup/env
217+ cabal update
218+ cabal test
219+
220+ # We use github.com/haskell self-hosted runners for ARM testing.
221+ arm :
222+ runs-on : [self-hosted, Linux, ARM64]
223+ strategy :
224+ fail-fast : true
225+ matrix :
226+ arch : [arm32v7, arm64v8]
227+ steps :
228+ - uses : docker://hasufell/arm64v8-ubuntu-haskell:focal
229+ name : Cleanup
230+ with :
231+ args : " find . -mindepth 1 -maxdepth 1 -exec rm -rf -- {} +"
232+
233+ - name : Checkout code
234+ uses : actions/checkout@v3
235+
236+ - if : matrix.arch == 'arm32v7'
237+ uses : docker://hasufell/arm32v7-ubuntu-haskell:focal
238+ name : Run build (arm32v7 linux)
239+ with :
240+ args : sh -c "cabal update && cabal test"
241+
242+ - if : matrix.arch == 'arm64v8'
243+ uses : docker://hasufell/arm64v8-ubuntu-haskell:focal
244+ name : Run build (arm64v8 linux)
245+ with :
246+ args : sh -c "cabal update && cabal test"
You can’t perform that action at this time.
0 commit comments