aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-04-03 17:18:19 +0200
committerEmilio Jesus Gallego Arias2019-04-03 17:18:19 +0200
commit4a42b2cf7f0c67370a329fe626d0e49264564302 (patch)
tree146416f8b43c7266027b69730413f9751934ef4e
parentfe24cd51c5cd816bdda2ab7ea590014afe27b863 (diff)
parentc078bebdf041b072590b69b1c4a64cb588f97499 (diff)
Merge PR #9804: CI: Use job-local timeout for build-template and test-suite-template
Reviewed-by: ejgallego Reviewed-by: gares
-rw-r--r--.gitlab-ci.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a599220bbd..a8e7ef8fd4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,6 +65,8 @@ after_script:
- config/coq_config.py
- test-suite/misc/universes/all_stdlib.v
expire_in: 1 week
+ variables:
+ timeout: ""
script:
- set -e
@@ -77,8 +79,8 @@ after_script:
- echo 'end:coq.config'
- echo 'start:coq.build'
- - make -j "$NJOBS" byte
- - make -j "$NJOBS" world $EXTRA_TARGET
+ - $timeout make -j "$NJOBS" byte
+ - $timeout make -j "$NJOBS" world $EXTRA_TARGET
- make test-suite/misc/universes/all_stdlib.v
- echo 'end:coq:build'
@@ -154,12 +156,14 @@ after_script:
- BIN=$(readlink -f ../_install_ci/bin)/
- LIB=$(readlink -f ../_install_ci/lib/coq)/
- export OCAMLPATH=$(readlink -f ../_install_ci/lib/):"$OCAMLPATH"
- - make -j "$NJOBS" BIN="$BIN" COQLIB="$LIB" COQFLAGS="${COQFLAGS}" all
+ - $timeout make -j "$NJOBS" BIN="$BIN" COQLIB="$LIB" COQFLAGS="${COQFLAGS}" all
artifacts:
name: "$CI_JOB_NAME.logs"
when: on_failure
paths:
- test-suite/logs
+ variables:
+ timeout: ""
# set dependencies when using
.validate-template:
@@ -252,6 +256,7 @@ build:base+async:
variables:
COQ_EXTRA_CONF: "-native-compiler yes -coqide opt"
COQUSERFLAGS: "-async-proofs on"
+ timeout: "timeout 100m"
allow_failure: true # See https://github.com/coq/coq/issues/9658
only:
variables:
@@ -262,6 +267,7 @@ build:quick:
variables:
COQ_EXTRA_CONF: "-native-compiler no"
QUICK: "1"
+ timeout: "timeout 100m"
allow_failure: true # See https://github.com/coq/coq/issues/9637
only:
variables:
@@ -517,6 +523,7 @@ test-suite:base+async:
- build:base
variables:
COQFLAGS: "-async-proofs on -async-proofs-cache force"
+ timeout: "timeout 100m"
allow_failure: true
only:
variables: