-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Groom docker_build.sh * more grooming, remove obsolete
- Loading branch information
Rob Walker
authored
Apr 9, 2020
1 parent
e6c95b0
commit bacbce7
Showing
3 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Note: this needs to be run from the root directory presently. | ||
# https://github.com/project-chip/connectedhomeip/issues/273 | ||
# This script assumes it's being run from the ToT | ||
|
||
./bootstrap && mkdir -p build/default && (cd build/default && ../../configure --enable-coverage --enable-coverage-info) && make -C build/default distcheck | ||
./bootstrap && mkdir -p build/default && (cd build/default && ../../configure --enable-coverage) && make -C build/default "${@:-distcheck}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
#!/usr/bin/env bash | ||
# Note: this needs to be run from the root directory presently. | ||
# https://github.com/project-chip/connectedhomeip/issues/273 | ||
|
||
set -e | ||
here=$(cd "$(dirname "$0")" && pwd) | ||
# update me if I move out of integrations/docker | ||
# | | ||
# +---------------+ | ||
# V | ||
SOURCE_PATH=$(cd "${here}/../.." && pwd) | ||
|
||
VERSION=$(cat integrations/docker/images/chip-build/version) | ||
ORGANIZATION="connectedhomeip" | ||
IMAGE="chip-build" | ||
TARGET_SOURCE_PATH="/var/source" | ||
VERSION=$(cat "${here}/images/${IMAGE}/version") | ||
|
||
docker run --rm -w $TARGET_SOURCE_PATH -v ${PWD}:$TARGET_SOURCE_PATH "$ORGANIZATION/$IMAGE:$VERSION" ./integrations/docker/run_build.sh | ||
docker run --rm -w "${SOURCE_PATH}" -v "${SOURCE_PATH}:${SOURCE_PATH}" "${ORGANIZATION}/${IMAGE}:${VERSION}" integrations/docker/run_build.sh "${@:-distcheck}" |