Skip to content

Commit

Permalink
CI: remove constraint-set containers-0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed Jun 25, 2024
1 parent c12b1b7 commit 72cfecd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ jobs:
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
constraints: base-compat >= 0.12.2
allow-newer: containers
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(example-client|hackage-repo-tool|hackage-root-tool|hackage-security|hackage-security-HTTP|hackage-security-curl|hackage-security-http-client|precompute-fileinfo)$/; }' >> cabal.project.local
cat cabal.project
Expand Down Expand Up @@ -293,13 +292,6 @@ jobs:
- name: prepare for constraint sets
run: |
rm -f cabal.project.local
- name: constraint set containers-0.7
run: |
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all --dry-run
cabal-plan topo | sort
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' --dependencies-only -j2 all
$CABAL v2-build $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all
$CABAL v2-test $ARG_COMPILER --enable-tests --disable-benchmarks --constraint='containers >= 0.7' all
- name: constraint set no-lukko
run: |
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='hackage-security -lukko' all --dry-run
Expand Down
18 changes: 9 additions & 9 deletions cabal.haskell-ci
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ raw-project
constraint-set no-lukko
constraints: hackage-security -lukko

constraint-set containers-0.7
-- Andreas, 2024-03-19: possibly we will have to turn off the constraint set
-- for the head.hackage build with GHC 9.10.0
-- ghc: < 9.10
constraints: containers >= 0.7
tests: True
run-tests: True
raw-project
allow-newer: containers
-- constraint-set containers-0.7
-- -- Andreas, 2024-03-19: possibly we will have to turn off the constraint set
-- -- for the head.hackage build with GHC 9.10.0
-- -- ghc: < 9.10
-- constraints: containers >= 0.7
-- tests: True
-- run-tests: True
-- raw-project
-- allow-newer: containers

0 comments on commit 72cfecd

Please sign in to comment.