8
8
#
9
9
# For more information, see https://github.com/andreasabel/haskell-ci
10
10
#
11
- # version: 0.17.20230928
11
+ # version: 0.17.20231012
12
12
#
13
- # REGENDATA ("0.17.20230928 ",["--config=cabal.haskell-ci","github","cabal.project"])
13
+ # REGENDATA ("0.17.20231012 ",["--config=cabal.haskell-ci","github","cabal.project"])
14
14
#
15
15
name : Haskell-CI
16
16
on :
@@ -32,11 +32,11 @@ jobs:
32
32
strategy :
33
33
matrix :
34
34
include :
35
- - compiler : ghc-9.8.0.20230919
35
+ - compiler : ghc-9.8.1
36
36
compilerKind : ghc
37
- compilerVersion : 9.8.0.20230919
37
+ compilerVersion : 9.8.1
38
38
setup-method : ghcup
39
- allow-failure : true
39
+ allow-failure : false
40
40
- compiler : ghc-9.6.3
41
41
compilerKind : ghc
42
42
compilerVersion : 9.6.3
@@ -65,27 +65,27 @@ jobs:
65
65
- compiler : ghc-8.8.4
66
66
compilerKind : ghc
67
67
compilerVersion : 8.8.4
68
- setup-method : hvr-ppa
68
+ setup-method : ghcup
69
69
allow-failure : false
70
70
- compiler : ghc-8.6.5
71
71
compilerKind : ghc
72
72
compilerVersion : 8.6.5
73
- setup-method : hvr-ppa
73
+ setup-method : ghcup
74
74
allow-failure : false
75
75
- compiler : ghc-8.4.4
76
76
compilerKind : ghc
77
77
compilerVersion : 8.4.4
78
- setup-method : hvr-ppa
78
+ setup-method : ghcup
79
79
allow-failure : false
80
80
- compiler : ghc-8.2.2
81
81
compilerKind : ghc
82
82
compilerVersion : 8.2.2
83
- setup-method : hvr-ppa
83
+ setup-method : ghcup
84
84
allow-failure : false
85
85
- compiler : ghc-8.0.2
86
86
compilerKind : ghc
87
87
compilerVersion : 8.0.2
88
- setup-method : hvr-ppa
88
+ setup-method : ghcup
89
89
allow-failure : false
90
90
- compiler : ghc-7.10.3
91
91
compilerKind : ghc
97
97
- name : apt
98
98
run : |
99
99
apt-get update
100
- apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
100
+ apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 libnuma-dev
101
101
if [ "${{ matrix.setup-method }}" = ghcup ]; then
102
102
mkdir -p "$HOME/.ghcup/bin"
103
103
curl -sL https://downloads.haskell.org/ghcup/0.1.19.5/x86_64-linux-ghcup-0.1.19.5 > "$HOME/.ghcup/bin/ghcup"
@@ -146,7 +146,7 @@ jobs:
146
146
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
147
147
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
148
148
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
149
- if [ $((HCNUMVER >= 90800)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE= false" >> "$GITHUB_ENV" ; fi
149
+ echo "HEADHACKAGE=false" >> "$GITHUB_ENV"
150
150
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
151
151
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
152
152
env :
@@ -175,18 +175,6 @@ jobs:
175
175
repository hackage.haskell.org
176
176
url: http://hackage.haskell.org/
177
177
EOF
178
- if $HEADHACKAGE; then
179
- cat >> $CABAL_CONFIG <<EOF
180
- repository head.hackage.ghc.haskell.org
181
- url: https://ghc.gitlab.haskell.org/head.hackage/
182
- secure: True
183
- root-keys: 7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
184
- 26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
185
- f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
186
- key-threshold: 3
187
- active-repositories: hackage.haskell.org, head.hackage.ghc.haskell.org:override
188
- EOF
189
- fi
190
178
cat >> $CABAL_CONFIG <<EOF
191
179
program-default-options
192
180
ghc-options: $GHCJOBS +RTS -M3G -RTS
@@ -249,9 +237,6 @@ jobs:
249
237
optimization: False
250
238
allow-newer: containers
251
239
EOF
252
- if $HEADHACKAGE; then
253
- echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project
254
- fi
255
240
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(github|github-samples)$/; }' >> cabal.project.local
256
241
cat cabal.project
257
242
cat cabal.project.local
0 commit comments