Skip to content
Snippets Groups Projects
Commit 65e40a46 authored by Ralf Jung's avatar Ralf Jung
Browse files

update CI

parent 4e87d4e7
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ stages: ...@@ -4,7 +4,7 @@ stages:
- build - build
variables: variables:
CPU_CORES: "9" CPU_CORES: "10"
.template: &template .template: &template
stage: build stage: build
...@@ -18,6 +18,8 @@ variables: ...@@ -18,6 +18,8 @@ variables:
- 'time make -k -j$CPU_CORES TIMED=y 2>&1 | tee build-log.txt' - 'time make -k -j$CPU_CORES TIMED=y 2>&1 | tee build-log.txt'
- 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi' - 'if fgrep Axiom build-log.txt >/dev/null; then exit 1; fi'
- 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \((real|user): [0-9]" | tee build-time.txt' - 'cat build-log.txt | egrep "[a-zA-Z0-9_/-]+ \((real|user): [0-9]" | tee build-time.txt'
# maybe validate
- 'if [[ -n "$VALIDATE" ]]; then make validate; fi'
# maybe generate and upload doc (has to be in this job as we need coq installed) # maybe generate and upload doc (has to be in this job as we need coq installed)
- 'if [[ -n "$DOCDIR" && "$CI_COMMIT_REF_NAME" == master ]]; then build/coqdoc; fi' - 'if [[ -n "$DOCDIR" && "$CI_COMMIT_REF_NAME" == master ]]; then build/coqdoc; fi'
# maybe create opam package # maybe create opam package
......
...@@ -63,5 +63,6 @@ echo "[opam-ci] Installing build-dependencies" ...@@ -63,5 +63,6 @@ echo "[opam-ci] Installing build-dependencies"
make build-dep OPAMFLAGS=-y make build-dep OPAMFLAGS=-y
# done # done
set +x
echo echo
coqc -v coqc -v
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment