diff options
author | Klaus Aehlig <aehlig@google.com> | 2016-11-17 15:31:33 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2016-11-17 18:18:38 +0000 |
commit | a2bbe67ecf5a95777e13820c165f2955037a14fd (patch) | |
tree | 1718b04e7c80e9a17a368369c0b0f4b47f7ce1b3 /scripts/ci/windows | |
parent | 8b55fa7453ed13178641270e8a9845f6c723992c (diff) |
compile_windows.sh: use ${BOOTSTRAP_BAZEL}
...as compile.sh from a plain checkout won't work in the future (an unpacked
distribution archive would be necessary, but using the bootstrap bazel is
easier for CI).
--
Change-Id: I186a9422bb1a092ced7396f396a8a158aa67e0f4
Reviewed-on: https://bazel-review.googlesource.com/#/c/7352
MOS_MIGRATED_REVID=139458547
Diffstat (limited to 'scripts/ci/windows')
-rwxr-xr-x | scripts/ci/windows/compile_windows.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/ci/windows/compile_windows.sh b/scripts/ci/windows/compile_windows.sh index 541b4df41d..e229d91b42 100755 --- a/scripts/ci/windows/compile_windows.sh +++ b/scripts/ci/windows/compile_windows.sh @@ -34,9 +34,13 @@ release_label="$(get_full_release_name)" if [ -n "${release_label}" ]; then export EMBED_LABEL="${release_label}" fi -./compile.sh "$*" +${BOOTSTRAP_BAZEL} --bazelrc=${BAZELRC:-/dev/null} --nomaster_bazelrc build \ + --embed_label=${release_label} --stamp \ + --workspace_status_command=scripts/ci/build_status_command.sh \ + //src:bazel + # Copy the resulting artifact. mkdir -p output/ci -cp output/bazel.exe output/ci/bazel-$(get_full_release_name).exe -zip -j output/ci/bazel-$(get_full_release_name).zip output/bazel.exe +cp bazel-bin/src/bazel.exe output/ci/bazel-$(get_full_release_name).exe +zip -j output/ci/bazel-$(get_full_release_name).zip bazel-bin/src/bazel.exe |