8
8
#
9
9
# For more information, see https://github.com/andreasabel/haskell-ci
10
10
#
11
- # version: 0.19.20240422
11
+ # version: 0.19.20240703
12
12
#
13
- # REGENDATA ("0.19.20240422 ",["github","OpenGL.cabal"])
13
+ # REGENDATA ("0.19.20240703 ",["github","OpenGL.cabal"])
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-22 .04
26
+ runs-on : ubuntu-20 .04
27
27
timeout-minutes :
28
28
60
29
29
container :
@@ -32,14 +32,19 @@ jobs:
32
32
strategy :
33
33
matrix :
34
34
include :
35
+ - compiler : ghc-9.10.1
36
+ compilerKind : ghc
37
+ compilerVersion : 9.10.1
38
+ setup-method : ghcup
39
+ allow-failure : false
35
40
- compiler : ghc-9.8.2
36
41
compilerKind : ghc
37
42
compilerVersion : 9.8.2
38
43
setup-method : ghcup
39
44
allow-failure : false
40
- - compiler : ghc-9.6.5
45
+ - compiler : ghc-9.6.6
41
46
compilerKind : ghc
42
- compilerVersion : 9.6.5
47
+ compilerVersion : 9.6.6
43
48
setup-method : ghcup
44
49
allow-failure : false
45
50
- compiler : ghc-9.4.8
96
101
mkdir -p "$HOME/.ghcup/bin"
97
102
curl -sL https://downloads.haskell.org/ghcup/0.1.20.0/x86_64-linux-ghcup-0.1.20.0 > "$HOME/.ghcup/bin/ghcup"
98
103
chmod a+x "$HOME/.ghcup/bin/ghcup"
99
- "$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.8.yaml;
100
104
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
101
- "$HOME/.ghcup/bin/ghcup" install cabal 3.10.3 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
105
+ "$HOME/.ghcup/bin/ghcup" install cabal 3.12.1 .0 || (cat "$HOME"/.ghcup/logs/*.* && false)
102
106
apt-get update
103
107
apt-get install -y freeglut3-dev
104
108
env :
@@ -118,7 +122,7 @@ jobs:
118
122
echo "HC=$HC" >> "$GITHUB_ENV"
119
123
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
120
124
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
121
- echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.3 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
125
+ echo "CABAL=$HOME/.ghcup/bin/cabal-3.12.1 .0 -vnormal+nowrap" >> "$GITHUB_ENV"
122
126
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
123
127
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
124
128
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
@@ -203,7 +207,7 @@ jobs:
203
207
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
204
208
cat >> cabal.project <<EOF
205
209
EOF
206
- $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(OpenGL)$/; }' >> cabal.project.local
210
+ $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any. $_ installed\n" unless /^(OpenGL)$/; }' >> cabal.project.local
207
211
cat cabal.project
208
212
cat cabal.project.local
209
213
- name : dump install plan
0 commit comments