diff options
| author | Emilio Jesus Gallego Arias | 2020-05-01 08:51:37 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2020-05-01 08:51:37 +0200 |
| commit | df89e28b0de6597b849078a4fd7d2dce3710f5e4 (patch) | |
| tree | a0d3d603926687237ad7951add145f7b4ea766e5 /dev/ci/ci-lambda_rust.sh | |
| parent | 6a021782f391b8c4829207138a5fbe119a8bd683 (diff) | |
| parent | 6cc6b87f997d7a5e848203b49bfedfaa96c53bb2 (diff) | |
Merge PR #12217: Fix #12215: ci scripts naming inconsistencies
Reviewed-by: ejgallego
Diffstat (limited to 'dev/ci/ci-lambda_rust.sh')
| -rwxr-xr-x | dev/ci/ci-lambda_rust.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev/ci/ci-lambda_rust.sh b/dev/ci/ci-lambda_rust.sh new file mode 100755 index 0000000000..1ef0c2cb8f --- /dev/null +++ b/dev/ci/ci-lambda_rust.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +ci_dir="$(dirname "$0")" +. "${ci_dir}/ci-common.sh" + +install_ssreflect + +# Setup lambda_rust first +git_download lambda_rust + +# Extract required version of Iris (avoiding "+" which does not work on MacOS :( *) +iris_CI_REF=$(grep -F coq-iris < "${CI_BUILD_DIR}/lambda_rust/opam" | sed 's/.*"dev\.[0-9][0-9.-]*\.\([0-9a-z][0-9a-z]*\)".*/\1/') + +# Setup Iris +git_download iris + +# Extract required version of std++ +stdpp_CI_REF=$(grep -F coq-stdpp < "${CI_BUILD_DIR}/iris/opam" | sed 's/.*"dev\.[0-9][0-9.-]*\.\([0-9a-z][0-9a-z]*\)".*/\1/') + +# Setup std++ +git_download stdpp + +# Build std++ +( cd "${CI_BUILD_DIR}/stdpp" && make && make install ) + +# Build and validate Iris +( cd "${CI_BUILD_DIR}/iris" && make && make validate && make install ) + +# Build lambda_rust +( cd "${CI_BUILD_DIR}/lambda_rust" && make && make install ) |
