blob: 4586dc643c09f70a664a7659aac0e87a34d11b15 [file]
---
tasks:
prebuilt_jars_up_to_date:
name: Prebuilt JARs are up to date
platform: ubuntu2404
shell_commands:
- bazel run //scripts:refresh-prebuilts
- git diff --exit-code
ubuntu2204_7_x:
name: Bazel 7.x tests
platform: ubuntu2404
bazel: 7.x
environment:
REPIN: 1
build_targets:
- "//..."
shell_commands:
- bazel run @regression_testing_coursier//:pin
- bazel run @regression_testing_gradle//:pin
- bazel run @regression_testing_maven//:pin
- bazel run @maven_install_in_custom_location//:pin
- bazel run @same_override_target//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
ubuntu2204_8_x:
name: Bazel 8.x tests
platform: ubuntu2404
bazel: 8.x
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
REPIN: 1
build_targets:
- "//..."
shell_commands:
- bazel run @regression_testing_coursier//:pin
- bazel run @regression_testing_gradle//:pin
- bazel run @regression_testing_maven//:pin
- bazel run @maven_install_in_custom_location//:pin
- bazel run @same_override_target//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
ubuntu2204_9_x:
name: Bazel 9.x tests
platform: ubuntu2404
bazel: 9.x
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
REPIN: 1
build_targets:
- "//..."
shell_commands:
- bazel run @regression_testing_coursier//:pin
- bazel run @regression_testing_gradle//:pin
- bazel run @regression_testing_maven//:pin
- bazel run @maven_install_in_custom_location//:pin
- bazel run @same_override_target//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
macos_9_x:
name: Bazel 9.x on macOS
platform: macos_arm64
bazel: 9.x
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
REPIN: 1
shell_commands:
- bazel run @regression_testing_coursier//:pin
- bazel run @regression_testing_gradle//:pin
- bazel run @regression_testing_maven//:pin
- bazel run @maven_install_in_custom_location//:pin
- bazel run @same_override_target//:pin
- tests/bazel_run_tests.sh
test_targets:
- "//..."
windows_9_x:
name: Bazel 9.x on Windows
platform: windows
bazel: 9.x
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
REPIN: 1
shell_commands:
- bazel run @regression_testing_coursier//:pin
- bazel run @regression_testing_gradle//:pin
- bazel run @regression_testing_maven//:pin
- bazel run @maven_install_in_custom_location//:pin
- bazel run @same_override_target//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
# rules_kotlin is not tested / does not work on Windows.
# https://github.com/bazelbuild/rules_kotlin/issues/179
# https://github.com/bazelbuild/rules_kotlin/blob/master/.bazelci/presubmit.yml
- "-//tests/unit/kotlin/..."
# https://github.com/bazelbuild/rules_jvm_external/issues/586
- "-//tests/unit/manifest_stamp:diff_signed_manifest_test"