@@ -119,14 +119,14 @@ install:
119 - touch cabal.project
119 - touch cabal.project
121 echo "packages: ." >> cabal.project
121 echo "packages: ." >> cabal.project
122− - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(reflex)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
123 - cat cabal.project || true
122 - cat cabal.project || true
124 - cat cabal.project.local || true
123 - cat cabal.project.local || true
125 - if [ -f "./configure.ac" ]; then (cd "." && autoreconf -i); fi
124 - if [ -f "./configure.ac" ]; then (cd "." && autoreconf -i); fi
126 - ${CABAL} v2-freeze $WITHCOMPILER ${TEST} ${BENCH} | color_cabal_output
125 - ${CABAL} v2-freeze $WITHCOMPILER ${TEST} ${BENCH} | color_cabal_output
126+ - ${CABAL} v2-configure $WITHCOMPILER ${TEST} ${BENCH} | color_cabal_output
127 - "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
127 - "cat cabal.project.freeze | sed -E 's/^(constraints: *| *)//' | sed 's/any.//'"
128− - rm cabal.project.freeze
128+ - rm cabal.project.freeze || true
129− - rm cabal.project.local
129+ - rm cabal.project.local || true
131 - DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
131 - DISTDIR=$(mktemp -d /tmp/dist-test.XXXX)
132 # Packaging...
132 # Packaging...
@@ -143,10 +143,9 @@ script:
144 echo "packages: ${PKGDIR_reflex}" >> cabal.project
144 echo "packages: ${PKGDIR_reflex}" >> cabal.project
146− - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(reflex)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done"
147 - cat cabal.project || true
146 - cat cabal.project || true
148 - cat cabal.project.local || true
147 - cat cabal.project.local || true
149− - rm cabal.project.local
148+ - rm cabal.project.local || true
150 # Building...
149 # Building...
151 # this builds all libraries and executables (without tests/benchmarks)
150 # this builds all libraries and executables (without tests/benchmarks)
152 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output
151 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output
@@ -160,12 +159,16 @@ script:
160 # haddock...
159 # haddock...
161 - if ! $GHCJS && [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 80606 ] ; then ${CABAL} v2-haddock $WITHCOMPILER ${TEST} ${BENCH} all | color_cabal_output ; fi
160 - if ! $GHCJS && [ $HCNUMVER -ge 80000 ] && [ $HCNUMVER -lt 80606 ] ; then ${CABAL} v2-haddock $WITHCOMPILER ${TEST} ${BENCH} all | color_cabal_output ; fi
162 # Building without installed constraints for packages in global-db...
161 # Building without installed constraints for packages in global-db...
163− - rm -f cabal.project.local
162+ - rm -f cabal.project.local || true
164 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output
163 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all | color_cabal_output
165 # Constraint sets
164 # Constraint sets
166− - rm -rf cabal.project.local
165+ - rm -rf cabal.project.local || true
167 # Constraint set no-th
166 # Constraint set no-th
168 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex -use-template-haskell' all | color_cabal_output
167 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex -use-template-haskell' all | color_cabal_output
169+ - rm -rf cabal.project.local || true
170+ # Constraint set don't use split these/semialign
171+ - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex -split-these' all | color_cabal_output
170# REGENDATA ["--config=cabal.haskell-ci","cabal.project"]
173# REGENDATA ["--config=cabal.haskell-ci","cabal.project"]