Skip to content

Commit

Permalink
kokoro: Update bazel to 7.0.2 for Mac builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dneto0 committed Mar 8, 2024
1 parent 04896c4 commit 4017505
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kokoro/macos-clang-release-bazel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ git config --global --add safe.directory $SRC
cd $SRC
/usr/bin/python3 utils/git-sync-deps --treeless

# Get bazel 5.0.0
gsutil cp gs://bazel/5.0.0/release/bazel-5.0.0-darwin-x86_64 .
chmod +x bazel-5.0.0-darwin-x86_64
# Get bazel 7.0.2
gsutil cp gs://bazel/7.0.2/release/bazel-7.0.2-darwin-x86_64 .
chmod +x bazel-7.0.2-darwin-x86_64

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

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

0 comments on commit 4017505

Please sign in to comment.