Skip to content

Commit cfc155d

Browse files
authored
Merge pull request #119 from haskellari/ghc-9.4
Allow base-4.17
2 parents 930060b + dc2c975 commit cfc155d

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

.github/workflows/haskell-ci.yml

+20-15
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.14.3
11+
# version: 0.15.20220808
1212
#
13-
# REGENDATA ("0.14.3",["github","--config=cabal.haskell-ci","lattices.cabal"])
13+
# REGENDATA ("0.15.20220808",["github","--config=cabal.haskell-ci","lattices.cabal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -23,7 +23,7 @@ on:
2323
jobs:
2424
linux:
2525
name: Haskell-CI - Linux - ${{ matrix.compiler }}
26-
runs-on: ubuntu-18.04
26+
runs-on: ubuntu-20.04
2727
timeout-minutes:
2828
60
2929
container:
@@ -32,15 +32,20 @@ jobs:
3232
strategy:
3333
matrix:
3434
include:
35-
- compiler: ghc-9.2.1
35+
- compiler: ghc-9.4.1
3636
compilerKind: ghc
37-
compilerVersion: 9.2.1
37+
compilerVersion: 9.4.1
3838
setup-method: ghcup
3939
allow-failure: false
40-
- compiler: ghc-9.0.1
40+
- compiler: ghc-9.2.4
4141
compilerKind: ghc
42-
compilerVersion: 9.0.1
43-
setup-method: hvr-ppa
42+
compilerVersion: 9.2.4
43+
setup-method: ghcup
44+
allow-failure: false
45+
- compiler: ghc-9.0.2
46+
compilerKind: ghc
47+
compilerVersion: 9.0.2
48+
setup-method: ghcup
4449
allow-failure: false
4550
- compiler: ghc-8.10.4
4651
compilerKind: ghc
@@ -95,18 +100,18 @@ jobs:
95100
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
96101
if [ "${{ matrix.setup-method }}" = ghcup ]; then
97102
mkdir -p "$HOME/.ghcup/bin"
98-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
103+
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
99104
chmod a+x "$HOME/.ghcup/bin/ghcup"
100-
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
101-
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
105+
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
106+
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
102107
else
103108
apt-add-repository -y 'ppa:hvr/ghc'
104109
apt-get update
105110
apt-get install -y "$HCNAME"
106111
mkdir -p "$HOME/.ghcup/bin"
107-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
112+
curl -sL https://downloads.haskell.org/ghcup/0.1.18.0/x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
108113
chmod a+x "$HOME/.ghcup/bin/ghcup"
109-
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
114+
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
110115
fi
111116
env:
112117
HCKIND: ${{ matrix.compilerKind }}
@@ -182,7 +187,7 @@ jobs:
182187
- name: cache (tools)
183188
uses: actions/cache@v2
184189
with:
185-
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-5487a2e0
190+
key: ${{ runner.os }}-${{ matrix.compiler }}-tools-ee480724
186191
path: ~/.haskell-ci-tools
187192
- name: install cabal-plan
188193
run: |
@@ -275,7 +280,7 @@ jobs:
275280
${CABAL} -vnormal check
276281
- name: haddock
277282
run: |
278-
$CABAL v2-haddock $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
283+
$CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all
279284
- name: unconstrained build
280285
run: |
281286
rm -f cabal.project.local

lattices.cabal

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cabal-version: 1.18
22
name: lattices
33
version: 2.0.3
4-
x-revision: 3
4+
x-revision: 4
55
category: Math
66
license: BSD3
77
license-file: LICENSE
@@ -32,8 +32,9 @@ tested-with:
3232
|| ==8.6.5
3333
|| ==8.8.3
3434
|| ==8.10.4
35-
|| ==9.0.1
36-
|| ==9.2.1
35+
|| ==9.0.2
36+
|| ==9.2.4
37+
|| ==9.4.1
3738

3839
synopsis:
3940
Fine-grained library for constructing and manipulating lattices
@@ -83,7 +84,7 @@ library
8384
Algebra.PartialOrd.Instances
8485

8586
build-depends:
86-
base >=4.6 && <4.17
87+
base >=4.6 && <4.18
8788
, base-compat >=0.10.5 && <0.13
8889
, containers >=0.5.0.0 && <0.7
8990
, deepseq >=1.3.0.0 && <1.5

0 commit comments

Comments
 (0)