Skip to content
Merged
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
17 changes: 12 additions & 5 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20250801
# version: 0.19.20260104
#
# REGENDATA ("0.19.20250801",["github","system-linux-proc.cabal"])
# REGENDATA ("0.19.20260104",["github","system-linux-proc.cabal"])
#
name: Haskell-CI
on:
- push
- pull_request
- merge_group
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
Expand All @@ -28,14 +29,19 @@ jobs:
strategy:
matrix:
include:
- compiler: ghc-9.14.1
compilerKind: ghc
compilerVersion: 9.14.1
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.12.2
compilerKind: ghc
compilerVersion: 9.12.2
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.10.2
- compiler: ghc-9.10.3
compilerKind: ghc
compilerVersion: 9.10.2
compilerVersion: 9.10.3
setup-method: ghcup
allow-failure: false
- compiler: ghc-9.8.4
Expand Down Expand Up @@ -143,7 +149,7 @@ jobs:
chmod a+x $HOME/.cabal/bin/cabal-plan
cabal-plan --version
- name: checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
path: source
- name: initial cabal.project for sdist
Expand Down Expand Up @@ -173,6 +179,7 @@ jobs:
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo "package system-linux-proc" >> cabal.project ; fi
if [ $((HCNUMVER >= 90600)) -ne 0 ] ; then echo " ghc-options: -Werror=incomplete-patterns -Werror=incomplete-uni-patterns" >> cabal.project ; fi
if [ $((HCNUMVER >= 91400)) -ne 0 ] ; then echo "allow-newer: *:*" >> cabal.project ; fi
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(system-linux-proc)$/; }' >> cabal.project.local
Expand Down
20 changes: 1 addition & 19 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,7 @@ tests: True
-- Show full test output
test-show-details: direct

-- cabal-allow-newer
if impl (ghc >= 9.14)
allow-newer:
, async:base
, boring:base
, hashable:base
, hashable:ghc-bignum
, hashable:containers
, hedgehog:time
, hedgehog:template-haskell
, hsc2hs:base
, hsc2hs:process
, integer-logarithms:base
, integer-logarithms:ghc-bignum
, lifted-async:base
, primitive:base
, process:base
, scientific:base
, scientific:containers
, scientific:template-haskell
, tagged:template-haskell
, terminal-size:base
, unix:time
5 changes: 3 additions & 2 deletions system-linux-proc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ extra-source-files: ChangeLog.md
stability: provisional
cabal-version: >= 1.10

tested-with: GHC == 8.10.7, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.2, GHC == 9.12.2
tested-with: GHC == 8.10.7, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3
, GHC == 9.12.2, GHC == 9.14.1

library
default-language: Haskell2010
Expand Down Expand Up @@ -51,6 +52,6 @@ test-suite test
Test.System.Linux.Proc.Hedgehog

build-depends: base >= 4.8 && < 5.0
, hedgehog >= 1.0 && < 1.7
, hedgehog >= 1.0 && < 1.8
, pretty-show == 1.10.*
, system-linux-proc