88#
99# For more information, see https://github.com/haskell-CI/haskell-ci
1010#
11- # version: 0.15.20220609
11+ # version: 0.15.20220808
1212#
13- # REGENDATA ("0.15.20220609 ",["github","cabal.project"])
13+ # REGENDATA ("0.15.20220808 ",["github","cabal.project"])
1414#
1515name : Haskell-CI
1616on :
@@ -32,14 +32,14 @@ jobs:
3232 strategy :
3333 matrix :
3434 include :
35- - compiler : ghc-9.4.0.20220523
35+ - compiler : ghc-9.4.1
3636 compilerKind : ghc
37- compilerVersion : 9.4.0.20220523
37+ compilerVersion : 9.4.1
3838 setup-method : ghcup
39- allow-failure : true
40- - compiler : ghc-9.2.3
39+ allow-failure : false
40+ - compiler : ghc-9.2.4
4141 compilerKind : ghc
42- compilerVersion : 9.2.3
42+ compilerVersion : 9.2.4
4343 setup-method : ghcup
4444 allow-failure : false
4545 - compiler : ghc-9.0.1
@@ -115,17 +115,16 @@ jobs:
115115 apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
116116 if [ "${{ matrix.setup-method }}" = ghcup ]; then
117117 mkdir -p "$HOME/.ghcup/bin"
118- curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
118+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
119119 chmod a+x "$HOME/.ghcup/bin/ghcup"
120- 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
121120 "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
122121 "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
123122 else
124123 apt-add-repository -y 'ppa:hvr/ghc'
125124 apt-get update
126125 apt-get install -y "$HCNAME"
127126 mkdir -p "$HOME/.ghcup/bin"
128- curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
127+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
129128 chmod a+x "$HOME/.ghcup/bin/ghcup"
130129 "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
131130 fi
@@ -158,7 +157,7 @@ jobs:
158157 echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
159158 echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
160159 echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
161- if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE= false" >> "$GITHUB_ENV" ; fi
160+ echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
162161 echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
163162 echo "GHCJSARITH=0" >> "$GITHUB_ENV"
164163 env :
@@ -187,18 +186,6 @@ jobs:
187186 repository hackage.haskell.org
188187 url: http://hackage.haskell.org/
189188 EOF
190- if $HEADHACKAGE; then
191- cat >> $CABAL_CONFIG <<EOF
192- repository head.hackage.ghc.haskell.org
193- url: https://ghc.gitlab.haskell.org/head.hackage/
194- secure: True
195- root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
196- 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
197- f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
198- key-threshold: 3
199- active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
200- EOF
201- fi
202189 cat >> $CABAL_CONFIG <<EOF
203190 program-default-options
204191 ghc-options: $GHCJOBS +RTS -M3G -RTS
@@ -259,9 +246,6 @@ jobs:
259246 if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
260247 cat >> cabal.project <<EOF
261248 EOF
262- if $HEADHACKAGE; then
263- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
264- fi
265249 $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(some)$/; }' >> cabal.project.local
266250 cat cabal.project
267251 cat cabal.project.local
0 commit comments