8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.17.20230824
11
+ # version: 0.17.20231010
12
12
#
13
- # REGENDATA ("0.17.20230824 ",["github","--no-cabal-check","agda-stdlib-utils.cabal"])
13
+ # REGENDATA ("0.17.20231010 ",["github","--no-cabal-check","agda-stdlib-utils.cabal"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
32
32
- agda-stdlib-utils.cabal
33
33
- cabal.haskell-ci
34
34
- " *.hs"
35
+ merge_group :
35
36
jobs :
36
37
linux :
37
38
name : Haskell-CI - Linux - ${{ matrix.compiler }}
@@ -44,19 +45,19 @@ jobs:
44
45
strategy :
45
46
matrix :
46
47
include :
47
- - compiler : ghc-9.8.0.20230822
48
+ - compiler : ghc-9.8.1
48
49
compilerKind : ghc
49
- compilerVersion : 9.8.0.20230822
50
+ compilerVersion : 9.8.1
50
51
setup-method : ghcup
51
- allow-failure : true
52
- - compiler : ghc-9.6.2
52
+ allow-failure : false
53
+ - compiler : ghc-9.6.3
53
54
compilerKind : ghc
54
- compilerVersion : 9.6.2
55
+ compilerVersion : 9.6.3
55
56
setup-method : ghcup
56
57
allow-failure : false
57
- - compiler : ghc-9.4.6
58
+ - compiler : ghc-9.4.7
58
59
compilerKind : ghc
59
- compilerVersion : 9.4.6
60
+ compilerVersion : 9.4.7
60
61
setup-method : ghcup
61
62
allow-failure : false
62
63
- compiler : ghc-9.2.8
94
95
mkdir -p "$HOME/.ghcup/bin"
95
96
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
96
97
chmod a+x "$HOME/.ghcup/bin/ghcup"
97
- "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
98
98
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
99
99
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
100
100
else
@@ -104,7 +104,6 @@ jobs:
104
104
mkdir -p "$HOME/.ghcup/bin"
105
105
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
106
106
chmod a+x "$HOME/.ghcup/bin/ghcup"
107
- "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml;
108
107
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
109
108
fi
110
109
env :
@@ -138,7 +137,7 @@ jobs:
138
137
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
139
138
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
140
139
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
141
- if [ $((HCNUMVER >= 90800)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE= false" >> "$GITHUB_ENV" ; fi
140
+ echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
142
141
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
143
142
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
144
143
env :
@@ -167,18 +166,6 @@ jobs:
167
166
repository hackage.haskell.org
168
167
url: http://hackage.haskell.org/
169
168
EOF
170
- if $HEADHACKAGE; then
171
- cat >> $CABAL_CONFIG <<EOF
172
- repository head.hackage.ghc.haskell.org
173
- url: https://ghc.gitlab.haskell.org/head.hackage/
174
- secure: True
175
- root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
176
- 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
177
- f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
178
- key-threshold: 3
179
- active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
180
- EOF
181
- fi
182
169
cat >> $CABAL_CONFIG <<EOF
183
170
program-default-options
184
171
ghc-options: $GHCJOBS +RTS -M3G -RTS
@@ -230,9 +217,6 @@ jobs:
230
217
echo " ghc-options: -Werror=missing-methods" >> cabal.project
231
218
cat >> cabal.project <<EOF
232
219
EOF
233
- if $HEADHACKAGE; then
234
- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
235
- fi
236
220
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(agda-stdlib-utils)$/; }' >> cabal.project.local
237
221
cat cabal.project
238
222
cat cabal.project.local
0 commit comments