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","hackage-cli.cabal"])
13+ # REGENDATA ("0.15.20220808 ",["github","hackage-cli.cabal"])
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.2
8080 apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
8181 if [ "${{ matrix.setup-method }}" = ghcup ]; then
8282 mkdir -p "$HOME/.ghcup/bin"
83- curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
83+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
8484 chmod a+x "$HOME/.ghcup/bin/ghcup"
85- 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
8685 "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
8786 "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
8887 apt-get update
9291 apt-get update
9392 apt-get install -y "$HCNAME" libbrotli-dev
9493 mkdir -p "$HOME/.ghcup/bin"
95- curl -sL https://downloads.haskell.org/ghcup/0.1.17.8 /x86_64-linux-ghcup-0.1.17.8 > "$HOME/.ghcup/bin/ghcup"
94+ curl -sL https://downloads.haskell.org/ghcup/0.1.18.0 /x86_64-linux-ghcup-0.1.18.0 > "$HOME/.ghcup/bin/ghcup"
9695 chmod a+x "$HOME/.ghcup/bin/ghcup"
9796 "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
9897 fi
@@ -125,7 +124,7 @@ jobs:
125124 echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
126125 echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
127126 echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
128- if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE= false" >> "$GITHUB_ENV" ; fi
127+ echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
129128 echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
130129 echo "GHCJSARITH=0" >> "$GITHUB_ENV"
131130 env :
@@ -154,18 +153,6 @@ jobs:
154153 repository hackage.haskell.org
155154 url: http://hackage.haskell.org/
156155 EOF
157- if $HEADHACKAGE; then
158- cat >> $CABAL_CONFIG <<EOF
159- repository head.hackage.ghc.haskell.org
160- url: https://ghc.gitlab.haskell.org/head.hackage/
161- secure: True
162- root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
163- 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
164- f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
165- key-threshold: 3
166- active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
167- EOF
168- fi
169156 cat >> $CABAL_CONFIG <<EOF
170157 program-default-options
171158 ghc-options: $GHCJOBS +RTS -M3G -RTS
@@ -217,9 +204,6 @@ jobs:
217204 echo " ghc-options: -Werror=missing-methods" >> cabal.project
218205 cat >> cabal.project <<EOF
219206 EOF
220- if $HEADHACKAGE; then
221- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
222- fi
223207 $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(Cabal|binary|hackage-cli)$/; }' >> cabal.project.local
224208 cat cabal.project
225209 cat cabal.project.local
0 commit comments