Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(gha): remove workaround for Bazel crash on macOS #12931

Merged
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
10 changes: 4 additions & 6 deletions ci/gha/builds/macos-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
set -euo pipefail

source "$(dirname "$0")/../../lib/init.sh"
source module ci/gha/builds/lib/macos.sh
source module ci/gha/builds/lib/bazel.sh
source module ci/gha/builds/lib/macos.sh
source module ci/lib/io.sh

# Usage: macos-bazel.sh [bazel query expression]
#
Expand All @@ -43,9 +44,6 @@ io::log_h1 "Starting Build"
time {
# Always run //google/cloud:status_test in case the list of targets has
# no unit tests.
# See https://github.com/bazelbuild/bazel/issues/18965 we need to retry
# because Bazel crashes sometimes.
io::log_bold bazelisk "${args[@]}" test "${test_args[@]}" -- //google/cloud:status_test "${targets[@]}"
ci/retry-command.sh 3 1 \
bazelisk "${args[@]}" test "${test_args[@]}" -- //google/cloud:status_test "${targets[@]}"
io::run bazelisk "${args[@]}" test "${test_args[@]}" \
-- //google/cloud:status_test "${targets[@]}"
}