aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-06-25 19:53:56 +0200
committerEmilio Jesus Gallego Arias2020-06-25 19:53:56 +0200
commitd7d3c70e4167f7bf4216950297ae9be42e3d4b9f (patch)
treeea94988a11c692fbea98b4a8ec5dd3f39885d36d
parent7b50daa7d709b9a8748823a4692e136007440f83 (diff)
parent40308a1fb2c053b20fe35622e3816cba02b171c0 (diff)
Merge PR #12554: Add back fiat-crypto-legacy to the CI
Reviewed-by: ejgallego
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--Makefile.ci1
-rwxr-xr-xdev/ci/ci-basic-overlay.sh7
-rwxr-xr-xdev/ci/ci-fiat_crypto_legacy.sh13
4 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6c035553c..7915cc34fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -742,6 +742,10 @@ library:ci-fiat_crypto:
- library:ci-coqprime
- plugin:ci-rewriter
+library:ci-fiat_crypto_legacy:
+ extends: .ci-template-flambda
+ allow_failure: true # See https://github.com/coq/coq/wiki/Coq-Call-2020-06-24#adding-back-fiat-crypto-legacy
+
# We cannot use flambda due to
# https://github.com/ocaml/ocaml/issues/7842, see
# https://github.com/coq/coq/pull/11916#issuecomment-609977375
diff --git a/Makefile.ci b/Makefile.ci
index 07f06caa3a..77d8bda671 100644
--- a/Makefile.ci
+++ b/Makefile.ci
@@ -29,6 +29,7 @@ CI_TARGETS= \
ci-equations \
ci-fcsl_pcm \
ci-fiat_crypto \
+ ci-fiat_crypto_legacy \
ci-fiat_crypto_ocaml \
ci-fiat_parsers \
ci-flocq \
diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh
index 88471a92aa..4973cbb478 100755
--- a/dev/ci/ci-basic-overlay.sh
+++ b/dev/ci/ci-basic-overlay.sh
@@ -179,6 +179,13 @@
: "${fiat_crypto_CI_ARCHIVEURL:=${fiat_crypto_CI_GITURL}/archive}"
########################################################################
+# fiat_crypto_legacy
+########################################################################
+: "${fiat_crypto_legacy_CI_REF:=sp2019latest}"
+: "${fiat_crypto_legacy_CI_GITURL:=https://github.com/mit-plv/fiat-crypto}"
+: "${fiat_crypto_legacy_CI_ARCHIVEURL:=${fiat_crypto_legacy_CI_GITURL}/archive}"
+
+########################################################################
# coq_dpdgraph
########################################################################
: "${coq_dpdgraph_CI_REF:=coq-master}"
diff --git a/dev/ci/ci-fiat_crypto_legacy.sh b/dev/ci/ci-fiat_crypto_legacy.sh
new file mode 100755
index 0000000000..6d0a803401
--- /dev/null
+++ b/dev/ci/ci-fiat_crypto_legacy.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+. "${ci_dir}/ci-common.sh"
+
+FORCE_GIT=1
+git_download fiat_crypto_legacy
+
+fiat_crypto_legacy_CI_TARGETS1="print-old-pipeline-lite-hardcoded old-pipeline-lite-hardcoded lite-display-hardcoded"
+fiat_crypto_legacy_CI_TARGETS2="print-old-pipeline-nobigmem-hardcoded old-pipeline-nobigmem-hardcoded nonautogenerated-specific nonautogenerated-specific-display selected-specific selected-specific-display"
+
+( cd "${CI_BUILD_DIR}/fiat_crypto_legacy" && git submodule update --init --recursive && \
+ make ${fiat_crypto_legacy_CI_TARGETS1} && make -j 1 ${fiat_crypto_legacy_CI_TARGETS2} )