CI: add constraint set for tasty-1.5

This commit is contained in:
Bodigrim 2023-09-10 01:19:45 +01:00
parent 4a4540a6f0
commit fc510b7d72
2 changed files with 10 additions and 0 deletions

View File

@ -299,6 +299,12 @@ jobs:
- name: prepare for constraint sets
run: |
rm -f cabal.project.local
- name: constraint set tasty-1.5
run: |
if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='tasty ^>= 1.5' all --dry-run ; fi
if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then cabal-plan topo | sort ; fi
if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='tasty ^>= 1.5' --dependencies-only -j2 all ; fi
if [ $((HCNUMVER >= 80000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='tasty ^>= 1.5' all ; fi
- name: constraint set tasty-1.4
run: |
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='tasty ^>= 1.4' all --dry-run

View File

@ -17,3 +17,7 @@ constraint-set tasty-1.3
constraint-set tasty-1.4
constraints: tasty ^>= 1.4
constraint-set tasty-1.5
constraints: tasty ^>= 1.5
ghc: >= 8.0