aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-fiat-crypto.sh
blob: c6d2f0cfd9855293ba5f3c9972b8c44321036992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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 )

# We need a larger stack size to not overflow ocamlopt+flambda when
# building the executables.
# c.f. https://github.com/coq/coq/pull/8313#issuecomment-416650241
( cd "${fiat_crypto_CI_DIR}" && ulimit -s 32768 && make new-pipeline c-files )