@@ -25,21 +25,34 @@ before_cache:
2525matrix:
2626 include:
2727
28+ # Do the special build steps and handle the newest and oldest
29+ # GHCs first, since these are the most likely to fail.
30+
31+ # HLint
2832 - env: BUILD=hlint CABALVER=2.2 GHCVER=8.4.4
2933 compiler: ": #GHC 8.4.4"
3034 addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
3135
36+ # Latest GHC
37+ - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.10.1
38+ compiler: ": #GHC 8.10.1"
39+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.10.1], sources: [hvr-ghc]}}
40+
41+ # Oldest GHC
42+ - env: BUILD=cabal CABALVER=1.18 GHCVER=7.8.4
43+ compiler: ": #GHC 7.8.4"
44+ addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
45+
46+ # Benchmarks
3247 - env: BUILD=stack CABALVER=2.4 GHCVER=8.6.5 STACK_YAML=stack-bench.yaml
3348 compiler: ": #GHC 8.6.5"
3449 addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
3550
51+ # C unescape implementation
3652 - env: BUILD=stack CABALVER=2.2 GHCVER=8.6.5 STACK_YAML=stack-ffi-unescape.yaml
3753 compiler: ": #GHC 8.6.5"
3854 addons: {apt: {packages: [cabal-install-2.2,ghc-8.6.5], sources: [hvr-ghc]}}
3955
40− - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.10.1
41− compiler: ": #GHC 8.10.1"
42− addons: {apt: {packages: [cabal-install-3.0,ghc-8.10.1], sources: [hvr-ghc]}}
4356
4457 - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.8.3
4558 compiler: ": #GHC 8.8.3"
@@ -65,10 +78,6 @@ matrix:
6578 compiler: ": #GHC 7.10.3"
6679 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
6780
68− - env: BUILD=cabal CABALVER=1.18 GHCVER=7.8.4
69− compiler: ": #GHC 7.8.4"
70− addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
71−
7281before_install:
7382 - unset CC
7483 - export PATH=$HOME/.local/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH