aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-common.sh
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-06-02 22:34:30 +0200
committerGaëtan Gilbert2018-06-02 22:34:30 +0200
commitfb406f8b33014c63139bbafd472b6afe7a4f72c9 (patch)
treed1f6e4a9b93ed51953d98a4970d7aeb89c83d020 /dev/ci/ci-common.sh
parent04756f75bf54b1ccda8c180c62b14c5eaaaabb67 (diff)
parentd19d296c2b584954e9adb97eed7c705cc1db4bc7 (diff)
Merge PR #7680: [ci] Expose updated `OCAMLPATH` for CI users.
Diffstat (limited to 'dev/ci/ci-common.sh')
-rw-r--r--dev/ci/ci-common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh
index f867fd189b..5b5cbd11ae 100644
--- a/dev/ci/ci-common.sh
+++ b/dev/ci/ci-common.sh
@@ -8,6 +8,7 @@ export NJOBS
if [ -n "${GITLAB_CI}" ];
then
+ export OCAMLPATH="$PWD/_install_ci/lib:$OCAMLPATH"
export COQBIN="$PWD/_install_ci/bin"
export CI_BRANCH="$CI_COMMIT_REF_NAME"
if [[ ${CI_BRANCH#pr-} =~ ^[0-9]*$ ]]
@@ -27,6 +28,7 @@ else
CI_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
export CI_BRANCH
fi
+ export OCAMLPATH="$PWD:$OCAMLPATH"
export COQBIN="$PWD/bin"
fi
export PATH="$COQBIN:$PATH"