[commit: ghc] wip/deploy-docs, wip/run-nofib: gitlab-ci: Run nofib on binary distributions (ab2210b)

git at git.haskell.org git at git.haskell.org
Thu Mar 21 17:01:55 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branches: wip/deploy-docs,wip/run-nofib
Link       : http://ghc.haskell.org/trac/ghc/changeset/ab2210b2b63fa6ccaefae20c31094b6e48a352d9/ghc

>---------------------------------------------------------------

commit ab2210b2b63fa6ccaefae20c31094b6e48a352d9
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Mar 21 01:42:27 2019 -0400

    gitlab-ci: Run nofib on binary distributions


>---------------------------------------------------------------

ab2210b2b63fa6ccaefae20c31094b6e48a352d9
 .gitlab-ci.yml | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0740047..6781411 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,7 +17,7 @@ stages:
   - full-build # Build all the things
   - cleanup    # See Note [Cleanup on Windows]
   - packaging  # Source distribution, etc.
-  - hackage    # head.hackage testing
+  - testing    # head.hackage, nofib testing
 
 ############################################################
 # Runner Tags
@@ -629,7 +629,7 @@ source-tarball:
 # pipeline.
 
 .hackage:
-  stage: hackage
+  stage: testing
   image: ghcci/x86_64-linux-deb9:0.2
   tags:
     - x86_64-linux
@@ -654,3 +654,27 @@ nightly-hackage:
   only:
     variables:
       - $NIGHTLY
+
+nofib:
+  stage: testing
+  dependencies:
+    - validate-x86_64-linux-deb9
+  image: ghcci/x86_64-linux-deb9:0.2
+  tags:
+    - x86_64-linux
+  script:
+    - root=$(pwd)/ghc
+    - |
+      tar -xf ghc-x86_64-deb9-linux.tar.xz
+      pushd ghc-*
+      ./configure --prefix=$root
+      make install
+      popd
+    - export BOOT_HC=$(which ghc)
+    - cabal update; cabal install -w $BOOT_HC regex-compat
+    - export PATH=$root/bin:$PATH
+    - make -C nofib boot mode=fast -j$CPUS
+    - "make -C nofib EXTRA_RUNTEST_OPTS='-cachegrind +RTS -V0 -RTS' NoFibRuns=1 mode=fast -j$CPUS > nofib.log"
+  artifacts:
+    paths:
+      - nofib.log



More information about the ghc-commits mailing list