|
8 | 8 | # |
9 | 9 | # For more information, see https://github.com/haskell-CI/haskell-ci |
10 | 10 | # |
11 | | -# version: 0.19.20250821 |
| 11 | +# version: 0.19.20251118 |
12 | 12 | # |
13 | | -# REGENDATA ("0.19.20250821",["github","cabal.project"]) |
| 13 | +# REGENDATA ("0.19.20251118",["github","cabal.project"]) |
14 | 14 | # |
15 | 15 | name: Haskell-CI |
16 | 16 | on: |
|
20 | 20 | pull_request: |
21 | 21 | branches: |
22 | 22 | - main |
| 23 | + merge_group: |
| 24 | + branches: |
| 25 | + - main |
23 | 26 | jobs: |
24 | 27 | linux: |
25 | 28 | name: Haskell-CI - Linux - ${{ matrix.compiler }} |
|
32 | 35 | strategy: |
33 | 36 | matrix: |
34 | 37 | include: |
| 38 | + - compiler: ghc-9.14.0.20251104 |
| 39 | + compilerKind: ghc |
| 40 | + compilerVersion: 9.14.0.20251104 |
| 41 | + setup-method: ghcup-prerelease |
| 42 | + allow-failure: false |
35 | 43 | - compiler: ghc-9.12.2 |
36 | 44 | compilerKind: ghc |
37 | 45 | compilerVersion: 9.12.2 |
@@ -101,6 +109,21 @@ jobs: |
101 | 109 | HCKIND: ${{ matrix.compilerKind }} |
102 | 110 | HCNAME: ${{ matrix.compiler }} |
103 | 111 | HCVER: ${{ matrix.compilerVersion }} |
| 112 | + - name: Install GHC (GHCup prerelease) |
| 113 | + if: matrix.setup-method == 'ghcup-prerelease' |
| 114 | + run: | |
| 115 | + "$HOME/.ghcup/bin/ghcup" config add-release-channel prereleases |
| 116 | + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false) |
| 117 | + HC=$("$HOME/.ghcup/bin/ghcup" whereis ghc "$HCVER") |
| 118 | + HCPKG=$(echo "$HC" | sed 's#ghc$#ghc-pkg#') |
| 119 | + HADDOCK=$(echo "$HC" | sed 's#ghc$#haddock#') |
| 120 | + echo "HC=$HC" >> "$GITHUB_ENV" |
| 121 | + echo "HCPKG=$HCPKG" >> "$GITHUB_ENV" |
| 122 | + echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV" |
| 123 | + env: |
| 124 | + HCKIND: ${{ matrix.compilerKind }} |
| 125 | + HCNAME: ${{ matrix.compiler }} |
| 126 | + HCVER: ${{ matrix.compilerVersion }} |
104 | 127 | - name: Set PATH and environment variables |
105 | 128 | run: | |
106 | 129 | echo "$HOME/.cabal/bin" >> $GITHUB_PATH |
@@ -171,7 +194,7 @@ jobs: |
171 | 194 | chmod a+x $HOME/.cabal/bin/cabal-docspec |
172 | 195 | cabal-docspec --version |
173 | 196 | - name: checkout |
174 | | - uses: actions/checkout@v4 |
| 197 | + uses: actions/checkout@v5 |
175 | 198 | with: |
176 | 199 | path: source |
177 | 200 | - name: initial cabal.project for sdist |
@@ -238,6 +261,29 @@ jobs: |
238 | 261 | if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package beam-large-records" >> cabal.project ; fi |
239 | 262 | if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi |
240 | 263 | cat >> cabal.project <<EOF |
| 264 | + allow-newer: primitive-0.9.1.0:base |
| 265 | + allow-newer: primitive-0.9.1.0:template-haskell |
| 266 | + allow-newer: indexed-traversable-0.1.4:base |
| 267 | + allow-newer: finite-typelits-0.2.1.0:base |
| 268 | + allow-newer: finite-typelits-0.2.1.0:template-haskell |
| 269 | + allow-newer: bifunctors-5.6.2:template-haskell |
| 270 | + allow-newer: th-abstraction-0.7.1.0:template-haskell |
| 271 | + allow-newer: assoc-1.1.1:base |
| 272 | + allow-newer: vector-0.13.2.0:base |
| 273 | + allow-newer: vector-stream-0.1.0.1:base |
| 274 | + allow-newer: splitmix-0.1.3.1:base |
| 275 | + allow-newer: tagged-0.8.9:template-haskell |
| 276 | + allow-newer: scientific-0.3.8.0:base |
| 277 | + allow-newer: scientific-0.3.8.0:template-haskell |
| 278 | + allow-newer: integer-logarithms-1.0.4:base |
| 279 | + allow-newer: integer-logarithms-1.0.4:ghc-bignum |
| 280 | + allow-newer: *:base |
| 281 | + allow-newer: *:template-haskell |
| 282 | + allow-newer: *:ghc-bignum |
| 283 | + allow-newer: *:containers |
| 284 | + allow-newer: *:time |
| 285 | + allow-newer: ghc-tcplugin-api-0.17.0.0:ghc |
| 286 | +
|
241 | 287 | package typelet |
242 | 288 | ghc-options: -Werror |
243 | 289 |
|
|
0 commit comments