From 7ea8f8225f4e511bcbe879972eb4223521b2f8d7 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Tue, 23 Jun 2020 20:10:02 -0400 Subject: [ci] Add coq-community/coq-performance-tests It's tested on the bench, so might as well test it on the CI. Hopefully it's not too memory-heavy. (It should only take a couple of minutes, time-wise.) --- .gitlab-ci.yml | 3 +++ Makefile.ci | 1 + dev/ci/ci-basic-overlay.sh | 7 +++++++ dev/ci/ci-coq_performance_tests.sh | 8 ++++++++ 4 files changed, 19 insertions(+) create mode 100755 dev/ci/ci-coq_performance_tests.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6ed9be58d..f6c035553c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -693,6 +693,9 @@ library:ci-color: library:ci-compcert: extends: .ci-template-flambda +library:ci-coq_performance_tests: + extends: .ci-template + library:ci-coq_tools: extends: .ci-template diff --git a/Makefile.ci b/Makefile.ci index 9231fa6fed..07f06caa3a 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -20,6 +20,7 @@ CI_TARGETS= \ ci-coquelicot \ ci-corn \ ci-cross_crypto \ + ci-coq_performance_tests \ ci-coq_tools \ ci-coqprime \ ci-elpi \ diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh index 475f812b5a..88471a92aa 100755 --- a/dev/ci/ci-basic-overlay.sh +++ b/dev/ci/ci-basic-overlay.sh @@ -94,6 +94,13 @@ : "${flocq_CI_GITURL:=https://gitlab.inria.fr/flocq/flocq}" : "${flocq_CI_ARCHIVEURL:=${flocq_CI_GITURL}/-/archive}" +######################################################################## +# coq-performance-tests +######################################################################## +: "${coq_performance_tests_CI_REF:=master}" +: "${coq_performance_tests_CI_GITURL:=https://github.com/coq-community/coq-performance-tests}" +: "${coq_performance_tests_CI_ARCHIVEURL:=${coq_performance_tests_CI_GITURL}/archive}" + ######################################################################## # coq-tools ######################################################################## diff --git a/dev/ci/ci-coq_performance_tests.sh b/dev/ci/ci-coq_performance_tests.sh new file mode 100755 index 0000000000..4eb77cfb24 --- /dev/null +++ b/dev/ci/ci-coq_performance_tests.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +ci_dir="$(dirname "$0")" +. "${ci_dir}/ci-common.sh" + +git_download coq_performance_tests + +( cd "${CI_BUILD_DIR}/coq_performance_tests" && make coq perf && make validate && make install ) -- cgit v1.2.3