[commit: ghc] master: gitlab-ci: Introduce nightly builds (850b136)
git at git.haskell.org
git at git.haskell.org
Mon Dec 17 17:45:27 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/850b136bdf3f04536580257feb9ce22677ece9d4/ghc
>---------------------------------------------------------------
commit 850b136bdf3f04536580257feb9ce22677ece9d4
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Dec 16 10:13:01 2018 -0500
gitlab-ci: Introduce nightly builds
These run slowtest and their artifacts are preserved for two years.
>---------------------------------------------------------------
850b136bdf3f04536580257feb9ce22677ece9d4
.gitlab-ci.yml | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5fb2ec..bcbcc30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -62,6 +62,8 @@ validate-x86_64-linux-deb8-hadrian:
.validate:
stage: build
+ variables:
+ TEST_TYPE: test
script:
- make clean || true
- ./boot
@@ -74,7 +76,7 @@ validate-x86_64-linux-deb8-hadrian:
mv ghc-*.tar.xz ghc.tar.xz
- |
THREADS=`mk/detect-cpu-count.sh`
- make test THREADS=$THREADS JUNIT_FILE=../../junit.xml
+ make $TEST_TYPE THREADS=$THREADS JUNIT_FILE=../../junit.xml
artifacts:
reports:
junit: junit.xml
@@ -147,6 +149,16 @@ validate-aarch64-linux-deb9:
tags:
- aarch64-linux
+nightly-aarch64-linux-deb9:
+ extends: validate-aarch64-linux-deb9
+ artifacts:
+ expire_in: 2 year
+ variables:
+ TEST_TYPE: slowtest
+ only:
+ variables:
+ - $NIGHTLY
+
validate-x86_64-linux-deb9:
extends: .validate-linux
image: ghcci/x86_64-linux-deb9:0.2
@@ -156,6 +168,16 @@ validate-x86_64-linux-deb9:
cache:
key: linux-x86_64-deb9
+nightly-x86_64-linux-deb9:
+ extends: validate-x86_64-linux-deb9
+ artifacts:
+ expire_in: 2 year
+ variables:
+ TEST_TYPE: slowtest
+ only:
+ variables:
+ - $NIGHTLY
+
validate-x86_64-linux-deb9-llvm:
extends: .validate-linux
allow_failure: true
@@ -192,6 +214,16 @@ validate-x86_64-linux-deb9-integer-simple:
cache:
key: linux-x86_64-deb9
+nightly-x86_64-linux-deb9-integer-simple:
+ extends: validate-x86_64-linux-deb9-integer-simple
+ artifacts:
+ expire_in: 2 year
+ variables:
+ TEST_TYPE: slowtest
+ only:
+ variables:
+ - $NIGHTLY
+
validate-x86_64-linux-deb9-unreg:
extends: .validate-linux
variables:
More information about the ghc-commits
mailing list