use the reponame in dir builddir to we can distinguish from desktop/android etc

This commit is contained in:
holger krekel
2019-11-21 20:35:48 +01:00
parent e14c4d0683
commit b67203b421
2 changed files with 5 additions and 7 deletions

View File

@@ -1,13 +1,12 @@
#!/bin/bash
export BRANCH=${CIRCLE_BRANCH:?branch to build}
export GITURL=${CIRCLE_REPOSITORY_URL:?git url of core-rust repo}
export REPONAME=${CIRCLE_PROJECT_REPONAME:?repository name}
export SSHTARGET=ci@b1.delta.chat
# we construct the BUILDDIR such that we can easily share the
# CARGO_TARGET_DIR between runs ("..")
export BUILDDIR=ci_builds/$BRANCH/${CIRCLE_JOB:?jobname}/${CIRCLE_BUILD_NUM:?circle-build-number}
export BUILDDIR=ci_builds/$REPONAME/$BRANCH/${CIRCLE_JOB:?jobname}/${CIRCLE_BUILD_NUM:?circle-build-number}
set -e