aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gross2020-03-26 13:40:02 -0400
committerJason Gross2020-03-26 13:40:02 -0400
commit522b3a2e63bccc59fcaf8ba4b70bce8b3434797d (patch)
treed2dee8556139661733139c5054d3909ef5bfd655
parent738445a8db2b853204ea6f04b6b07751aeb40833 (diff)
[ci] Add bbv
I believe a recent commit to master broke it, and now that it's no longer tested as part of fiat-crypto-legacy, I think it's time to add it.
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--Makefile.ci1
-rwxr-xr-xdev/ci/ci-basic-overlay.sh7
-rwxr-xr-xdev/ci/ci-bbv.sh8
4 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ebeee0d4e4..39c801197b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -592,6 +592,9 @@ validate:quick:
library:ci-argosy:
extends: .ci-template
+library:ci-bbv:
+ extends: .ci-template
+
library:ci-bedrock2:
extends: .ci-template-flambda
artifacts:
diff --git a/Makefile.ci b/Makefile.ci
index f58dd9f37a..d4383fd409 100644
--- a/Makefile.ci
+++ b/Makefile.ci
@@ -11,6 +11,7 @@
CI_TARGETS= \
ci-aac_tactics \
ci-argosy \
+ ci-bbv \
ci-bedrock2 \
ci-bignums \
ci-color \
diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh
index 70e3fe5c69..c18e556da8 100755
--- a/dev/ci/ci-basic-overlay.sh
+++ b/dev/ci/ci-basic-overlay.sh
@@ -200,6 +200,13 @@
: "${coqprime_CI_ARCHIVEURL:=${coqprime_CI_GITURL}/archive}"
########################################################################
+# bbv
+########################################################################
+: "${bbv_CI_REF:=master}"
+: "${bbv_CI_GITURL:=https://github.com/mit-plv/bbv}"
+: "${bbv_CI_ARCHIVEURL:=${bbv_CI_GITURL}/archive}"
+
+########################################################################
# bedrock2
########################################################################
: "${bedrock2_CI_REF:=tested}"
diff --git a/dev/ci/ci-bbv.sh b/dev/ci/ci-bbv.sh
new file mode 100755
index 0000000000..6892cea3e4
--- /dev/null
+++ b/dev/ci/ci-bbv.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+. "${ci_dir}/ci-common.sh"
+
+git_download bbv
+
+( cd "${CI_BUILD_DIR}/bbv" && make && make install )