Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions kokoro/macos-clang-release-bazel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ cd $SRC
/usr/bin/python3 utils/git-sync-deps

BAZELVER=8.7.0
BAZEL_PROG=bazel-$BAZELVER-darwin-$(uname -m)
gcloud config set auth/disable_credentials True
gcloud storage cp gs://bazel/$BAZELVER/release/bazel-$BAZELVER-darwin-x86_64 .
chmod +x bazel-$BAZELVER-darwin-x86_64
gcloud storage cp gs://bazel/$BAZELVER/release/$BAZEL_PROG .
chmod +x $BAZEL_PROG

echo $(date): Build everything...
./bazel-$BAZELVER-darwin-x86_64 build --cxxopt=-std=c++17 :all
./$BAZEL_PROG build --cxxopt=-std=c++17 :all
echo $(date): Build completed.

echo $(date): Starting bazel test...
./bazel-$BAZELVER-darwin-x86_64 test --cxxopt=-std=c++17 :all
./$BAZEL_PROG test --cxxopt=-std=c++17 :all
echo $(date): Bazel test completed.
Loading