Commit 850b136b authored by Ben Gamari's avatar Ben Gamari 🐢

gitlab-ci: Introduce nightly builds

These run slowtest and their artifacts are preserved for two years.
parent 8eaf733f
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment