Skip to content

Commit

Permalink
try disabling bzlmod. skip tests I dont care about
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolduc committed Jul 10, 2024
1 parent ee4ae24 commit 385b033
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions ci/gha/builds/lib/bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ function bazel::msvc_args() {
'--per_file_copt=.*\.pb\.cc@-wd4267'
'--per_file_copt=.*\.upb\.c@-wd4090'
'--per_file_copt=.*\.upbdefs\.c@-wd4090'
# gRPC is not compatible with (at least) MSVC 2019 + bzlmod.
'--noenable_bzlmod'
)
printf "%s\n" "${args[@]}"
}
Expand Down
7 changes: 3 additions & 4 deletions ci/gha/builds/macos-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ source module ci/gha/builds/lib/macos.sh
source module ci/gha/builds/lib/bazel.sh
source module ci/lib/io.sh

io::log_h1 "Skipping Build..."
exit 0

# Usage: macos-bazel.sh [bazel query expression]
#
# The build compiles the targets found via `bazel query`. Recall that:
Expand All @@ -35,10 +38,6 @@ source module ci/lib/io.sh
mapfile -t args < <(bazel::common_args)
mapfile -t test_args < <(bazel::test_args)
mapfile -t integration_test_args < <(bazel::integration_test_args)
args+=(
# gRPC does not build on Windows + bzlmod
--noenable_bzlmod
)

TIMEFORMAT="==> 🕑 bazel test done in %R seconds"

Expand Down
3 changes: 3 additions & 0 deletions ci/gha/builds/macos-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ source module ci/gha/builds/lib/macos.sh
source module ci/gha/builds/lib/cmake.sh
source module ci/gha/builds/lib/ctest.sh

io::log_h1 "Skipping Build..."
exit 0

# Usage: macos-cmake.sh <value for GOOGLE_CLOUD_CPP_ENABLE>
#
# The singular argument is provided as a value for the GOOGLE_CLOUD_CPP_ENABLE
Expand Down
3 changes: 3 additions & 0 deletions ci/gha/builds/windows-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ source module ci/gha/builds/lib/windows.sh
source module ci/gha/builds/lib/cmake.sh
source module ci/gha/builds/lib/ctest.sh

io::log_h1 "Skipping Build..."
exit 0

# Usage: macos-cmake.sh <build-type> <value for GOOGLE_CLOUD_CPP_ENABLE>
#
# The build-type sets `-DCMAKE_BUILD_TYPE`, typically Release or Debug.
Expand Down

0 comments on commit 385b033

Please sign in to comment.