6
6
#
7
7
# haskell-ci regenerate
8
8
#
9
- # For more information, see https://github.com/andreasabel /haskell-ci
9
+ # For more information, see https://github.com/haskell-CI /haskell-ci
10
10
#
11
- # version: 0.19.20241219
11
+ # version: 0.19.20250327
12
12
#
13
- # REGENDATA ("0.19.20241219 ",["--config=cabal.haskell-ci","github","cabal.project"])
13
+ # REGENDATA ("0.19.20250327 ",["--config=cabal.haskell-ci","github","cabal.project"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
23
23
jobs :
24
24
linux :
25
25
name : Haskell-CI - Linux - ${{ matrix.compiler }}
26
- runs-on : ubuntu-20 .04
26
+ runs-on : ubuntu-24 .04
27
27
timeout-minutes :
28
28
60
29
29
container :
32
32
strategy :
33
33
matrix :
34
34
include :
35
- - compiler : ghc-9.12.1
35
+ - compiler : ghc-9.12.2
36
36
compilerKind : ghc
37
- compilerVersion : 9.12.1
37
+ compilerVersion : 9.12.2
38
38
setup-method : ghcup
39
39
allow-failure : false
40
40
- compiler : ghc-9.10.1
47
47
compilerVersion : 9.8.4
48
48
setup-method : ghcup
49
49
allow-failure : false
50
- - compiler : ghc-9.6.6
50
+ - compiler : ghc-9.6.7
51
51
compilerKind : ghc
52
- compilerVersion : 9.6.6
52
+ compilerVersion : 9.6.7
53
53
setup-method : ghcup
54
54
allow-failure : false
55
55
- compiler : ghc-9.4.8
@@ -101,13 +101,12 @@ jobs:
101
101
- name : Install GHCup
102
102
run : |
103
103
mkdir -p "$HOME/.ghcup/bin"
104
- curl -sL https://downloads.haskell.org/ghcup/0.1.30.0 /x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
104
+ curl -sL https://downloads.haskell.org/ghcup/0.1.50.1 /x86_64-linux-ghcup-0.1.50.1 > "$HOME/.ghcup/bin/ghcup"
105
105
chmod a+x "$HOME/.ghcup/bin/ghcup"
106
- - name : Install cabal-install (prerelease)
106
+ - name : Install cabal-install
107
107
run : |
108
- "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
109
- "$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
110
- echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
108
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
109
+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
111
110
- name : Install GHC (GHCup)
112
111
if : matrix.setup-method == 'ghcup'
113
112
run : |
@@ -132,7 +131,7 @@ jobs:
132
131
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
133
132
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
134
133
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
135
- if [ $((HCNUMVER >= 91200)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE= false" >> "$GITHUB_ENV" ; fi
134
+ echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
136
135
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
137
136
env :
138
137
HCKIND : ${{ matrix.compilerKind }}
@@ -160,18 +159,6 @@ jobs:
160
159
repository hackage.haskell.org
161
160
url: http://hackage.haskell.org/
162
161
EOF
163
- if $HEADHACKAGE; then
164
- cat >> $CABAL_CONFIG <<EOF
165
- repository head.hackage.ghc.haskell.org
166
- url: https://ghc.gitlab.haskell.org/head.hackage/
167
- secure: True
168
- root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
169
- 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
170
- f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
171
- key-threshold: 3
172
- active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
173
- EOF
174
- fi
175
162
cat >> $CABAL_CONFIG <<EOF
176
163
program-default-options
177
164
ghc-options: $GHCJOBS +RTS -M3G -RTS
@@ -233,9 +220,6 @@ jobs:
233
220
constraints: operational -buildExamples
234
221
optimization: False
235
222
EOF
236
- if $HEADHACKAGE; then
237
- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
238
- fi
239
223
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(github|github-samples)$/; }' >> cabal.project.local
240
224
cat cabal.project
241
225
cat cabal.project.local
0 commit comments