88#
99# For more information, see https://github.com/haskell-CI/haskell-ci
1010#
11- # version: 0.19.20241202
11+ # version: 0.19.20241219
1212#
13- # REGENDATA ("0.19.20241202 ",["github","cabal.project"])
13+ # REGENDATA ("0.19.20241219 ",["github","cabal.project"])
1414#
1515name : Haskell-CI
1616on :
@@ -32,10 +32,10 @@ jobs:
3232 strategy :
3333 matrix :
3434 include :
35- - compiler : ghc-9.12.0.20241128
35+ - compiler : ghc-9.12.1
3636 compilerKind : ghc
37- compilerVersion : 9.12.0.20241128
38- setup-method : ghcup-prerelease
37+ compilerVersion : 9.12.1
38+ setup-method : ghcup
3939 allow-failure : false
4040 - compiler : ghc-9.10.1
4141 compilerKind : ghc
@@ -68,10 +68,11 @@ jobs:
6868 mkdir -p "$HOME/.ghcup/bin"
6969 curl -sL https://downloads.haskell.org/ghcup/0.1.30.0/x86_64-linux-ghcup-0.1.30.0 > "$HOME/.ghcup/bin/ghcup"
7070 chmod a+x "$HOME/.ghcup/bin/ghcup"
71- - name : Install cabal-install
71+ - name : Install cabal-install (prerelease)
7272 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"
7576 - name : Install GHC (GHCup)
7677 if : matrix.setup-method == 'ghcup'
7778 run : |
@@ -100,21 +101,6 @@ jobs:
100101 HCKIND : ${{ matrix.compilerKind }}
101102 HCNAME : ${{ matrix.compiler }}
102103 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 }}
118104 - name : Set PATH and environment variables
119105 run : |
120106 echo "$HOME/.cabal/bin" >> $GITHUB_PATH
@@ -204,7 +190,6 @@ jobs:
204190 echo " ghc-options: -Werror=missing-methods" >> cabal.project
205191 cat >> cabal.project <<EOF
206192 allow-newer: splitmix-0.1.0.5:base
207- allow-newer: tagged-0.8.8:template-haskell
208193 EOF
209194 $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(hashable)$/; }' >> cabal.project.local
210195 cat cabal.project
0 commit comments