summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-05-29 13:21:18 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2021-06-02 08:54:04 +0100
commit4e4981d6636a59175b61e75fec2bcf4e58b15488 (patch)
tree4d93ea37d4496838db7f33ec4b3380590140496d
parent787902ea66ed57a9233fbb0ef191507d79bd53de (diff)
downloadhaskell-wip/speed-up-hlint.tar.gz
CI: Don't explicitly build hadrian before using run_hadrianwip/speed-up-hlint
This causes hadrian to be built twice because the second time uses a different index state.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 0 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9722ea0cb6..3e0db17aa4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -326,7 +326,6 @@ hadrian-ghc-in-ghci:
- .gitlab/ci.sh setup
- "cabal update --index=$HACKAGE_INDEX_STATE"
- .gitlab/ci.sh configure
- - cd hadrian; cabal new-build -j`../mk/detect-cpu-count.sh` --with-compiler=$GHC --project-file=ci.project; cd ..
# Load ghc-in-ghci then immediately exit and check the modules loaded
- echo ":q" | hadrian/ghci -j`mk/detect-cpu-count.sh`| tail -n2 | grep "Ok,"
after_script:
@@ -355,7 +354,6 @@ hadrian-ghc-in-ghci:
- git checkout .gitmodules
- .gitlab/ci.sh setup
- "cabal update --index=$HACKAGE_INDEX_STATE"
- - cd hadrian; cabal new-build -j`../mk/detect-cpu-count.sh` --with-compiler=$GHC --project-file=ci.project; cd ..
after_script:
- cp -Rf $HOME/.cabal cabal-cache
variables: