Skip to content

Commit

Permalink
Add GHC 9.10.1 to the versions tested in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BinderDavid committed Jun 7, 2024
1 parent cce6a35 commit 78bc041
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.17.20231203
# version: 0.19.20240514
#
# REGENDATA ("0.17.20231203",["github","ghc-events.cabal"])
# REGENDATA ("0.19.20240514",["github","ghc-events.cabal"])
#
name: Haskell-CI
on:
Expand All @@ -23,11 +23,16 @@ jobs:
timeout-minutes:
60
container:
image: buildpack-deps:bionic
image: buildpack-deps:jammy
continue-on-error: ${{ matrix.allow-failure }}
strategy:
matrix:
include:
- compiler: ghc-9.10.1
compilerKind: ghc
compilerVersion: 9.10.1
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.8.1
compilerKind: ghc
compilerVersion: 9.8.1
Expand Down Expand Up @@ -187,7 +192,7 @@ jobs:
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: source
- name: initial cabal.project for sdist
Expand Down Expand Up @@ -215,15 +220,15 @@ jobs:
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(ghc-events)$/; }' >> cabal.project.local
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(ghc-events)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
run: |
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
cabal-plan
- name: restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
Expand Down Expand Up @@ -253,7 +258,7 @@ jobs:
rm -f cabal.project.local
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
- name: save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
Expand Down
3 changes: 2 additions & 1 deletion ghc-events.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ tested-with: GHC == 8.0.2
GHC == 9.4.2
GHC == 9.6.1
GHC == 9.8.1
GHC == 9.10.1
extra-source-files: include/EventLogFormat.h
test/*.eventlog
test/*.reference
Expand All @@ -54,7 +55,7 @@ common default

library
import: default
build-depends: base >= 4.7 && < 4.20,
build-depends: base >= 4.7 && < 4.21,
containers >= 0.5 && < 0.8,
binary >= 0.7 && < 0.11,
bytestring >= 0.10.4,
Expand Down

0 comments on commit 78bc041

Please sign in to comment.