From fe4e8c6290910bd5fd32d6ea63bfacf0a29ce7ba Mon Sep 17 00:00:00 2001 From: Hans-Peter Deifel <hpd@hpdeifel.de> Date: Fri, 30 Nov 2018 14:12:20 +0100 Subject: [PATCH] ci: Switch to GHC 8.4.4 We previously used the haskell:8.4 docker image, which provides the latest version of GHC 8.4. Unfortunately, when GHC was upgraded from 8.4.3 to 8.4.4 in the docker image, stack broke because it expected 8.4.3. To prevent this from happening again, we now use the 8.4.4 docker image explicitly. This means that CI is now 8.4.4 instead of 8.4.3. --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5cebca0..08359c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: haskell:8.4 +image: haskell:8.4.4 # Change stacks global directory to be inside the project directory, # since we can only cache local dependencies. @@ -11,13 +11,13 @@ cache: test_branch: script: - - stack --no-terminal --system-ghc --no-install-ghc --resolver lts-12.14 build --test --haddock --no-haddock-deps --bench --no-run-benchmarks + - stack --no-terminal --system-ghc --no-install-ghc build --test --haddock --no-haddock-deps --bench --no-run-benchmarks except: - master test: script: - - stack --no-terminal --system-ghc --no-install-ghc --resolver lts-12.14 build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks + - stack --no-terminal --system-ghc --no-install-ghc build --copy-bins --test --haddock --no-haddock-deps --bench --no-run-benchmarks - cp -r ~/.local/bin/ copar-linux-binaries only: - master -- GitLab