@@ -25,50 +25,59 @@ 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
32− - env: BUILD=stack CABALVER=2.4 GHCVER=8.6.5 STACK_YAML=stack-bench.yaml
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
47+ - env: BUILD=stack CABALVER=3.0 GHCVER=8.6.5 STACK_YAML=stack-bench.yaml
3348 compiler: ": #GHC 8.6.5"
34− addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
49+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
3550
36− - env: BUILD=stack CABALVER=2.2 GHCVER=8.6.5 STACK_YAML=stack-ffi-unescape.yaml
51+ # C unescape implementation
52+ - env: BUILD=stack CABALVER=3.0 GHCVER=8.6.5 STACK_YAML=stack-ffi-unescape.yaml
3753 compiler: ": #GHC 8.6.5"
38− addons: {apt: {packages: [cabal-install-2.2,ghc-8.6.5], sources: [hvr-ghc]}}
54+ addons: {apt: {packages: [cabal-install-3.0,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"
4659 addons: {apt: {packages: [cabal-install-3.0,ghc-8.8.3], sources: [hvr-ghc]}}
4760
48− - env: BUILD=cabal CABALVER=2.4 GHCVER=8.6.5
61+ - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.6.5
4962 compiler: ": #GHC 8.6.5"
50− addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.5], sources: [hvr-ghc]}}
63+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.6.5], sources: [hvr-ghc]}}
5164
52− - env: BUILD=cabal CABALVER=2.2 GHCVER=8.4.4
65+ - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.4.4
5366 compiler: ": #GHC 8.4.4"
54− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
67+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.4.4], sources: [hvr-ghc]}}
5568
56− - env: BUILD=cabal CABALVER=2.0 GHCVER=8.2.2
69+ - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.2.2
5770 compiler: ": #GHC 8.2.2"
58− addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
71+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.2.2], sources: [hvr-ghc]}}
5972
60− - env: BUILD=cabal CABALVER=2.0 GHCVER=8.0.2
73+ - env: BUILD=cabal2 CABALVER=3.0 GHCVER=8.0.2
6174 compiler: ": #GHC 8.0.2"
62− addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2], sources: [hvr-ghc]}}
75+ addons: {apt: {packages: [cabal-install-3.0,ghc-8.0.2], sources: [hvr-ghc]}}
6376
6477 - env: BUILD=cabal CABALVER=1.22 GHCVER=7.10.3
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