8
8
#
9
9
# For more information, see https://github.com/haskell-CI/haskell-ci
10
10
#
11
- # version: 0.19.20241202
11
+ # version: 0.19.20241219
12
12
#
13
- # REGENDATA ("0.19.20241202 ",["github","cabal.project"])
13
+ # REGENDATA ("0.19.20241219 ",["github","cabal.project"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -32,10 +32,10 @@ jobs:
32
32
strategy :
33
33
matrix :
34
34
include :
35
- - compiler : ghc-9.12.0.20241128
35
+ - compiler : ghc-9.12.1
36
36
compilerKind : ghc
37
- compilerVersion : 9.12.0.20241128
38
- setup-method : ghcup-prerelease
37
+ compilerVersion : 9.12.1
38
+ setup-method : ghcup
39
39
allow-failure : false
40
40
- compiler : ghc-9.10.1
41
41
compilerKind : ghc
@@ -68,10 +68,11 @@ jobs:
68
68
mkdir -p "$HOME/.ghcup/bin"
69
69
curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
70
70
chmod a+x "$HOME/.ghcup/bin/ghcup"
71
- - name : Install cabal-install
71
+ - name : Install cabal-install (prerelease)
72
72
run : |
73
- "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
74
- echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1.0 -vnormal+nowrap" >> "$GITHUB_ENV"
73
+ "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
74
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.15.0.0.2024.10.3 || (cat "$HOME"/.ghcup/logs/*.* && false)
75
+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.15.0.0.2024.10.3 -vnormal+nowrap" >> "$GITHUB_ENV"
75
76
- name : Install GHC (GHCup)
76
77
if : matrix.setup-method == 'ghcup'
77
78
run : |
@@ -100,21 +101,6 @@ jobs:
100
101
HCKIND : ${{ matrix.compilerKind }}
101
102
HCNAME : ${{ matrix.compiler }}
102
103
HCVER : ${{ matrix.compilerVersion }}
103
- - name : Install GHC (GHCup prerelease)
104
- if : matrix.setup-method == 'ghcup-prerelease'
105
- run : |
106
- "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
107
- "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
108
- HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER")
109
- HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#')
110
- HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#')
111
- echo "HC=$HC" >> "$GITHUB_ENV"
112
- echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
113
- echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
114
- env :
115
- HCKIND : ${{ matrix.compilerKind }}
116
- HCNAME : ${{ matrix.compiler }}
117
- HCVER : ${{ matrix.compilerVersion }}
118
104
- name : Set PATH and environment variables
119
105
run : |
120
106
echo "$HOME/.cabal/bin" >> $GITHUB_PATH
@@ -204,7 +190,6 @@ jobs:
204
190
echo " ghc-options: -Werror=missing-methods" >> cabal.project
205
191
cat >> cabal.project <<EOF
206
192
allow-newer: splitmix-0.1.0.5:base
207
- allow-newer: tagged-0.8.8:template-haskell
208
193
EOF
209
194
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(hashable)$/; }' >> cabal.project.local
210
195
cat cabal.project
0 commit comments