mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
use the reponame in dir builddir to we can distinguish from desktop/android etc
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export BRANCH=${CIRCLE_BRANCH:?branch to build}
|
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
|
export SSHTARGET=ci@b1.delta.chat
|
||||||
|
|
||||||
# we construct the BUILDDIR such that we can easily share the
|
# we construct the BUILDDIR such that we can easily share the
|
||||||
# CARGO_TARGET_DIR between runs ("..")
|
# 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
|
set -e
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
export BRANCH=${CIRCLE_BRANCH:?branch to build}
|
export BRANCH=${CIRCLE_BRANCH:?branch to build}
|
||||||
|
export REPONAME=${CIRCLE_PROJECT_REPONAME:?repository name}
|
||||||
export GITURL=${CIRCLE_REPOSITORY_URL:?git url of core-rust repo}
|
|
||||||
|
|
||||||
export SSHTARGET=ci@b1.delta.chat
|
export SSHTARGET=ci@b1.delta.chat
|
||||||
|
|
||||||
# we construct the BUILDDIR such that we can easily share the
|
# we construct the BUILDDIR such that we can easily share the
|
||||||
# CARGO_TARGET_DIR between runs ("..")
|
# 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
|
set -e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user