aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gross2018-08-23 20:53:41 -0400
committerJason Gross2018-08-24 10:02:28 -0400
commit6e65164d1a02438ea48e52229a85f8e79b6e09fb (patch)
tree2ca4e192e4756e2475045942cb04d904d95a5ef4
parent05d13bf516a75da38bacbb62608528f8dceb34fd (diff)
Split up fiat-crypto CI into two targets
There is the new pipeline, and the old pipeline. Most of what they share in common is the (very large) library of lemmas about `Z`. As per the discussion in https://github.com/coq/coq/pull/8064#issuecomment-413474176 through https://github.com/coq/coq/pull/8064#issuecomment-413793143
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--Makefile.ci1
-rwxr-xr-xdev/ci/ci-fiat-crypto-legacy.sh14
-rwxr-xr-xdev/ci/ci-fiat-crypto.sh4
4 files changed, 19 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46f8572b94..492b658d98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -337,6 +337,9 @@ ci-fcsl-pcm:
ci-fiat-crypto:
<<: *ci-template-flambda
+ci-fiat-crypto-legacy:
+ <<: *ci-template-flambda
+
ci-fiat-parsers:
<<: *ci-template
diff --git a/Makefile.ci b/Makefile.ci
index fce16906c4..306471d1d0 100644
--- a/Makefile.ci
+++ b/Makefile.ci
@@ -22,6 +22,7 @@ CI_TARGETS=ci-bedrock2 \
ci-equations \
ci-fcsl-pcm \
ci-fiat-crypto \
+ ci-fiat-crypto-legacy \
ci-fiat-parsers \
ci-flocq \
ci-formal-topology \
diff --git a/dev/ci/ci-fiat-crypto-legacy.sh b/dev/ci/ci-fiat-crypto-legacy.sh
new file mode 100755
index 0000000000..9429344159
--- /dev/null
+++ b/dev/ci/ci-fiat-crypto-legacy.sh
@@ -0,0 +1,14 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+. "${ci_dir}/ci-common.sh"
+
+fiat_crypto_CI_DIR="${CI_BUILD_DIR}/fiat-crypto"
+
+git_checkout "${fiat_crypto_CI_BRANCH}" "${fiat_crypto_CI_GITURL}" "${fiat_crypto_CI_DIR}"
+
+( cd "${fiat_crypto_CI_DIR}" && git submodule update --init --recursive )
+
+fiat_crypto_legacy_CI_TARGETS1="print-old-pipeline-lite old-pipeline-lite lite-display"
+fiat_crypto_legacy_CI_TARGETS2="print-old-pipeline-nobigmem old-pipeline-nobigmem nonautogenerated-specific nonautogenerated-specific-display"
+( cd "${fiat_crypto_CI_DIR}" && make ${fiat_crypto_legacy_CI_TARGETS1} && make -j 1 ${fiat_crypto_legacy_CI_TARGETS2} )
diff --git a/dev/ci/ci-fiat-crypto.sh b/dev/ci/ci-fiat-crypto.sh
index 48a1366aba..659511dbea 100755
--- a/dev/ci/ci-fiat-crypto.sh
+++ b/dev/ci/ci-fiat-crypto.sh
@@ -9,6 +9,4 @@ git_checkout "${fiat_crypto_CI_BRANCH}" "${fiat_crypto_CI_GITURL}" "${fiat_crypt
( cd "${fiat_crypto_CI_DIR}" && git submodule update --init --recursive )
-fiat_crypto_CI_TARGETS1="printlite lite lite-display"
-fiat_crypto_CI_TARGETS2="print-nobigmem nobigmem nonautogenerated-specific nonautogenerated-specific-display"
-( cd "${fiat_crypto_CI_DIR}" && make ${fiat_crypto_CI_TARGETS1} && make -j 1 ${fiat_crypto_CI_TARGETS2} )
+( cd "${fiat_crypto_CI_DIR}" && make new-pipeline )