mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-24 04:20:13 +00:00
kokoro: Update bazel to 7.0.2 for Mac builds (#5606)
This commit is contained in:
parent
04896c462d
commit
d15a7aa25d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user