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

Disable mac CI, update Linux #4220

Merged
merged 2 commits into from
Jan 9, 2025
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
45 changes: 22 additions & 23 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
matrix:
platform:
- ubuntu2004
- macos
- ubuntu2404
- macos_arm64
- windows

tasks:
ubuntu1804_bazel6:
platform: ubuntu1804
debian11_bazel6:
platform: debian11
bazel: 6.5.0 # test minimum supported version of bazel
build_targets:
- "//..."
Expand All @@ -21,7 +20,7 @@ tasks:
- "-//tests/runfiles:runfiles_test"
# TODO: Investigate why this fails.
- "-//tests/core/starlark/cgo:missing_cc_toolchain_explicit_pure_off_test"
ubuntu2004:
ubuntu2404:
# enable some unflipped incompatible flags on this platform to ensure we don't regress.
build_flags:
- "--config=incompatible"
Expand Down Expand Up @@ -72,21 +71,21 @@ tasks:
- "@go_default_sdk//..."
test_targets:
- "//..."
macos_arm64:
build_flags:
- "--apple_crosstool_top=@local_config_apple_cc//:toolchain"
- "--crosstool_top=@local_config_apple_cc//:toolchain"
- "--host_crosstool_top=@local_config_apple_cc//:toolchain"
build_targets:
- "//..."
- "--"
test_flags:
- "--apple_crosstool_top=@local_config_apple_cc//:toolchain"
- "--crosstool_top=@local_config_apple_cc//:toolchain"
- "--host_crosstool_top=@local_config_apple_cc//:toolchain"
test_targets:
- "//..."
rbe_ubuntu1604:
# macos_arm64:
# build_flags:
# - "--apple_crosstool_top=@local_config_apple_cc//:toolchain"
# - "--crosstool_top=@local_config_apple_cc//:toolchain"
# - "--host_crosstool_top=@local_config_apple_cc//:toolchain"
# build_targets:
# - "//..."
# - "--"
# test_flags:
# - "--apple_crosstool_top=@local_config_apple_cc//:toolchain"
# - "--crosstool_top=@local_config_apple_cc//:toolchain"
# - "--host_crosstool_top=@local_config_apple_cc//:toolchain"
# test_targets:
# - "//..."
rbe_ubuntu2404:
build_targets:
- "//..."
test_flags:
Expand Down Expand Up @@ -179,7 +178,7 @@ tasks:
# The following configurations test a seperate WORKSPACE under the examples folder
ubuntu2004_examples:
name: Examples test on Ubuntu
platform: ubuntu2004
platform: ubuntu2404
working_directory: examples/basic-gazelle
build_flags:
- "--config=incompatible"
Expand All @@ -190,8 +189,8 @@ tasks:
test_targets:
- "//..."
macos_examples:
name: Examples test on MacOS
platform: macos
name: Examples test on macOS
platform: macos_arm64
working_directory: examples/basic-gazelle
build_flags:
- "--config=incompatible"
Expand Down