Skip to content

Commit ae33fd3

Browse files
committed
Haskell-CI: bump to 9.2.3
1 parent 01c1154 commit ae33fd3

4 files changed

Lines changed: 43 additions & 38 deletions

File tree

.github/workflows/haskell-ci.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,20 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.15.20220525
11+
# version: 0.15.20220710
1212
#
13-
# REGENDATA ("0.15.20220525",["--config=cabal.haskell-ci","github","cabal.project"])
13+
# REGENDATA ("0.15.20220710",["--config=cabal.haskell-ci","github","cabal.project"])
1414
#
1515
name: Haskell-CI
1616
on:
1717
push:
1818
branches:
1919
- master
20+
- ci*
2021
pull_request:
2122
branches:
2223
- master
24+
- ci*
2325
jobs:
2426
linux:
2527
name: Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -32,14 +34,14 @@ jobs:
3234
strategy:
3335
matrix:
3436
include:
35-
- compiler: ghc-9.4.0.20220501
37+
- compiler: ghc-9.4.0.20220623
3638
compilerKind: ghc
37-
compilerVersion: 9.4.0.20220501
39+
compilerVersion: 9.4.0.20220623
3840
setup-method: ghcup
3941
allow-failure: true
40-
- compiler: ghc-9.2.2
42+
- compiler: ghc-9.2.3
4143
compilerKind: ghc
42-
compilerVersion: 9.2.2
44+
compilerVersion: 9.2.3
4345
setup-method: ghcup
4446
allow-failure: false
4547
- compiler: ghc-9.0.2
@@ -97,17 +99,17 @@ jobs:
9799
mkdir -p "$HOME/.ghcup/bin"
98100
curl -sL https://downloads.haskell.org/ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
99101
chmod a+x "$HOME/.ghcup/bin/ghcup"
100-
if $HEADHACKAGE; then "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml; fi
101-
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
102-
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
102+
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
103+
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
104+
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
103105
else
104106
apt-add-repository -y 'ppa:hvr/ghc'
105107
apt-get update
106108
apt-get install -y "$HCNAME"
107109
mkdir -p "$HOME/.ghcup/bin"
108110
curl -sL https://downloads.haskell.org/ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
109111
chmod a+x "$HOME/.ghcup/bin/ghcup"
110-
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
112+
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
111113
fi
112114
env:
113115
HCKIND: ${{ matrix.compilerKind }}
@@ -176,6 +178,7 @@ jobs:
176178
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
177179
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
178180
key-threshold: 3
181+
active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
179182
EOF
180183
fi
181184
cat >> $CABAL_CONFIG <<EOF
@@ -208,7 +211,7 @@ jobs:
208211
run: |
209212
touch cabal.project
210213
echo "packages: $GITHUB_WORKSPACE/source/." >> cabal.project
211-
if [ $((HCNUMVER >= 71000 && HCNUMVER < 90400)) -ne 0 ] ; then echo "packages: $GITHUB_WORKSPACE/source/samples" >> cabal.project ; fi
214+
if [ $((HCNUMVER >= 71000)) -ne 0 ] ; then echo "packages: $GITHUB_WORKSPACE/source/samples" >> cabal.project ; fi
212215
cat cabal.project
213216
- name: sdist
214217
run: |
@@ -228,11 +231,11 @@ jobs:
228231
touch cabal.project
229232
touch cabal.project.local
230233
echo "packages: ${PKGDIR_github}" >> cabal.project
231-
if [ $((HCNUMVER >= 71000 && HCNUMVER < 90400)) -ne 0 ] ; then echo "packages: ${PKGDIR_github_samples}" >> cabal.project ; fi
234+
if [ $((HCNUMVER >= 71000)) -ne 0 ] ; then echo "packages: ${PKGDIR_github_samples}" >> cabal.project ; fi
232235
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package github" >> cabal.project ; fi
233236
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
234-
if [ $((HCNUMVER >= 80200 && HCNUMVER < 90400)) -ne 0 ] ; then echo "package github-samples" >> cabal.project ; fi
235-
if [ $((HCNUMVER >= 80200 && HCNUMVER < 90400)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
237+
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package github-samples" >> cabal.project ; fi
238+
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
236239
cat >> cabal.project <<EOF
237240
constraints: github +openssl
238241
constraints: github-samples +openssl
@@ -271,8 +274,8 @@ jobs:
271274
run: |
272275
cd ${PKGDIR_github} || false
273276
${CABAL} -vnormal check
274-
if [ $((HCNUMVER >= 71000 && HCNUMVER < 90400)) -ne 0 ] ; then cd ${PKGDIR_github_samples} || false ; fi
275-
if [ $((HCNUMVER >= 71000 && HCNUMVER < 90400)) -ne 0 ] ; then ${CABAL} -vnormal check ; fi
277+
if [ $((HCNUMVER >= 71000)) -ne 0 ] ; then cd ${PKGDIR_github_samples} || false ; fi
278+
if [ $((HCNUMVER >= 71000)) -ne 0 ] ; then ${CABAL} -vnormal check ; fi
276279
- name: haddock
277280
run: |
278281
if [ $((HCNUMVER >= 80600)) -ne 0 ] ; then $CABAL v2-haddock --haddock-all $ARG_COMPILER --with-haddock $HADDOCK $ARG_TESTS $ARG_BENCH all ; fi

cabal.haskell-ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
branches: master
1+
branches: master ci*
22
haddock: >=8.6
33
-- See PR #355: haddocks for GADT constructor arguments only supported from GHC 8.6
44
jobs-selection: any

github.cabal

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ copyright:
3030
Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016-2021 Oleg Grenrus
3131

3232
tested-with:
33-
GHC ==7.8.4
34-
|| ==7.10.3
35-
|| ==8.0.2
36-
|| ==8.2.2
37-
|| ==8.4.4
38-
|| ==8.6.5
39-
|| ==8.8.4
40-
|| ==8.10.7
41-
|| ==9.0.2
42-
|| ==9.2.2
43-
|| ==9.4.1
33+
GHC == 9.4.1
34+
GHC == 9.2.3
35+
GHC == 9.0.2
36+
GHC == 8.10.7
37+
GHC == 8.8.4
38+
GHC == 8.6.5
39+
GHC == 8.4.4
40+
GHC == 8.2.2
41+
GHC == 8.0.2
42+
GHC == 7.10.3
43+
GHC == 7.8.4
4444

4545
extra-source-files:
4646
README.md

samples/github-samples.cabal

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@ category: Examples
55
synopsis: Samples for github package
66
license: BSD-3-Clause
77
license-file: LICENSE
8-
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
8+
maintainer: Andreas Abel
99
description: Various samples of github package
1010
build-type: Simple
11+
1112
tested-with:
12-
GHC ==7.10.3
13-
|| ==8.0.2
14-
|| ==8.2.2
15-
|| ==8.4.4
16-
|| ==8.6.5
17-
|| ==8.8.4
18-
|| ==8.10.7
19-
|| ==9.0.2
20-
|| ==9.2.2
13+
GHC == 9.4.1
14+
GHC == 9.2.3
15+
GHC == 9.0.2
16+
GHC == 8.10.7
17+
GHC == 8.8.4
18+
GHC == 8.6.5
19+
GHC == 8.4.4
20+
GHC == 8.2.2
21+
GHC == 8.0.2
22+
GHC == 7.10.3
2123

2224
library
2325
hs-source-dirs: src

0 commit comments

Comments
 (0)