Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/haskell-ci.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
+ - agda-stdlib-utils.cabal
+ - cabal.haskell-ci
+ - "*.hs"
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
merge_group:
branches:
- master
47 changes: 21 additions & 26 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,30 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20260209
# version: 0.19.20260624
#
# REGENDATA ("0.19.20260209",["github","--no-cabal-check","agda-stdlib-utils.cabal"])
# REGENDATA ("0.19.20260624",["github","--no-cabal-check","agda-stdlib-utils.cabal"])
#
name: Haskell-CI
on:
push:
branches:
- master
- experimental
paths:
- .github/workflows/haskell-ci.yml
- agda-stdlib-utils.cabal
- cabal.haskell-ci
- "*.hs"
pull_request:
branches:
- master
- experimental
paths:
- .github/workflows/haskell-ci.yml
- agda-stdlib-utils.cabal
- cabal.haskell-ci
- "*.hs"
merge_group:
branches:
- master
Expand Down Expand Up @@ -70,29 +80,14 @@ jobs:
compilerVersion: 9.4.8
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.2.8
compilerKind: ghc
compilerVersion: 9.2.8
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.0.2
compilerKind: ghc
compilerVersion: 9.0.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-8.10.7
compilerKind: ghc
compilerVersion: 8.10.7
setup-method: ghcup
allow-failure: false
- compiler: ghc-8.8.4
- compiler: ghc-9.4.2
compilerKind: ghc
compilerVersion: 8.8.4
compilerVersion: 9.4.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-8.6.5
- compiler: ghc-9.2.8
compilerKind: ghc
compilerVersion: 8.6.5
compilerVersion: 9.2.8
setup-method: ghcup
allow-failure: false
fail-fast: false
Expand Down Expand Up @@ -185,7 +180,7 @@ jobs:
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
- name: checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: source
- name: initial cabal.project for sdist
Expand Down Expand Up @@ -213,8 +208,8 @@ jobs:
echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project
if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "package agda-stdlib-utils" >> cabal.project ; fi
if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package agda-stdlib-utils" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi
echo "package agda-stdlib-utils" >> cabal.project
echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(agda-stdlib-utils)$/; }' >> cabal.project.local
Expand All @@ -225,7 +220,7 @@ jobs:
$CABAL v2-build $ARG_COMPILER $ARG_TESTS $ARG_BENCH --dry-run all
cabal-plan
- name: restore cache
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
Expand All @@ -249,7 +244,7 @@ jobs:
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks all
- name: save cache
if: always()
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
path: ~/.cabal/store
5 changes: 1 addition & 4 deletions agda-stdlib-utils.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ tested-with:
GHC == 9.8.4
GHC == 9.6.7
GHC == 9.4.8
GHC == 9.4.2
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5

common common-build-parameters
default-language:
Expand Down
Loading