File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed
Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ name : 32bit-ci
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request : {} # Validate all PRs
7+
8+ defaults :
9+ run :
10+ shell : bash
11+
12+ jobs :
13+ build :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : true
17+ matrix :
18+ os : [ubuntu-latest]
19+ ghc : ['9.12']
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : haskell-actions/setup@v2
23+ id : setup-haskell-cabal
24+ with :
25+ ghc-version : ${{ matrix.ghc }}
26+ - name : Update cabal package database
27+ run : cabal update
28+ - uses : actions/cache@v3
29+ name : Cache cabal stuff
30+ with :
31+ path : |
32+ ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
33+ dist-newstyle
34+ key : ${{ runner.os }}-${{ matrix.ghc }}
35+ - name : Test
36+ run : |
37+ cabal sdist -z -o .
38+ cabal get unordered-containers-*.tar.gz
39+ cd unordered-containers-*/
40+ cabal build unordered-containers:tests --enable-tests --enable-benchmarks
41+ cabal test --enable-tests --enable-benchmarks --test-show-details=direct all
42+ - name : Bench
43+ run : |
44+ cd unordered-containers-*/
45+ cabal bench --enable-tests --enable-benchmarks --benchmark-option=-l all
46+ - name : Haddock
47+ run : |
48+ cd unordered-containers-*/
49+ cabal haddock all
50+ - name : Cabal check
51+ run : |
52+ cd unordered-containers-*/
53+ cabal check
54+
55+ i386 :
56+ needs : build
57+ runs-on : ubuntu-latest
58+ container :
59+ image : i386/ubuntu:bionic
60+ steps :
61+ - name : Install
62+ run : |
63+ apt-get update -y
64+ apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev
65+ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
66+ - uses : actions/checkout@v1 # This version must stay old enough to remain compatible with the container image
67+ - name : Test
68+ run : |
69+ source ~/.ghcup/env
70+ cabal update
71+ cabal test
You can’t perform that action at this time.
0 commit comments