[Git][ghc/ghc][master] 4 commits: Populate gitlab cache after building
Marge Bot
gitlab at gitlab.haskell.org
Mon Sep 14 21:47:01 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
5ae8212c by Wander Hillen at 2020-09-14T17:46:54-04:00
Populate gitlab cache after building
- - - - -
a5ffb39a by Wander Hillen at 2020-09-14T17:46:54-04:00
Move ahead cabal cache restoration to before use of cabal
- - - - -
e8b37c21 by Wander Hillen at 2020-09-14T17:46:54-04:00
Do the hadrian rebuild multicore
- - - - -
07762eb5 by Wander Hillen at 2020-09-14T17:46:54-04:00
Also cache other hadrian builds
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -229,6 +229,7 @@ lint-release-changelogs:
- git checkout .gitmodules
- "git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/perf || true"
after_script:
+ - cp -Rf $HOME/.cabal cabal-cache
- .gitlab/ci.sh clean
tags:
- x86_64-linux
@@ -258,15 +259,16 @@ hadrian-ghc-in-ghci:
tags:
- x86_64-linux
script:
+ - .gitlab/ci.sh setup
- cabal update
- - cd hadrian; cabal new-build --with-compiler=$GHC --project-file=ci.project; cd ..
+ - cd hadrian; cabal new-build -j`../mk/detect-cpu-count.sh` --with-compiler=$GHC --project-file=ci.project; cd ..
- git clean -xdf && git submodule foreach git clean -xdf
- - .gitlab/ci.sh setup
- - if [[ -d ./cabal-cache ]]; then cp -R ./.cabal-cache ~/.cabal-cache; fi
- ./boot
- ./configure $CONFIGURE_ARGS
# 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:
+ - cp -Rf $HOME/.cabal cabal-cache
cache:
key: hadrian-ghci
paths:
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/35a7b7ecabeba39e53d6dea78ecc2d3eca8b1b24...07762eb5cfe735e131a7f017939a6b0ccfb28389
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/35a7b7ecabeba39e53d6dea78ecc2d3eca8b1b24...07762eb5cfe735e131a7f017939a6b0ccfb28389
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200914/fcd65832/attachment-0001.html>
More information about the ghc-commits
mailing list