summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml34
1 files changed, 33 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e5fb2ec7f4..bcbcc30aeb 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: