Files
ray-project--ray/.buildkite/macos/macos.rayci.yml
T
2026-07-13 13:17:40 +08:00

124 lines
3.7 KiB
YAML

group: macos tests
sort_key: "~macos"
steps:
- label: ":ray: core: :mac: smoke test"
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
tags:
- core_cpp
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_smoke_test
# block full test suite on premerge and microcheck
- block: "run macos tests"
key: block-macos-tests
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("BUILDKITE_PIPELINE_ID") == "018f4f1e-1b73-4906-9802-92422e3badaa"
depends_on: []
- label: ":tapioca: build: :mac: wheels and jars (aarch64)"
key: macos_wheels_arm64
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- macos_wheels
- python_dependencies
- release_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- bash ci/ray_ci/macos/macos_ci_build.sh
depends_on: block-macos-tests
# test
- label: ":ray: core: :mac: small & client tests"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_small_test
depends_on: block-macos-tests
- label: ":ray: core: :mac: medium tests (shard 1)"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_medium_test_shard_0
depends_on: block-macos-tests
- label: ":ray: core: :mac: medium tests (shard 2)"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_medium_test_shard_1
depends_on: block-macos-tests
- label: ":ray: core: :mac: large tests"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- macos_wheels
- oss
job_env: MACOS
instance_type: macos-arm64
parallelism: 3
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_large_test
depends_on: block-macos-tests
- label: ":ray: core: :mac: core and dashboard tests"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- dashboard
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_core_dashboard_test
depends_on: block-macos-tests
- label: ":ray: core: :mac: core c++ and java tests"
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- cpp
- java
- macos_wheels
job_env: MACOS
instance_type: macos-arm64
commands:
- RAY_INSTALL_JAVA=0 ./ci/ray_ci/macos/macos_ci.sh run_ray_cpp
depends_on: block-macos-tests
- label: ":ray: core: :mac: flaky tests"
key: macos_flaky_tests
if: build.env("BUILDKITE_PIPELINE_ID") != "0189e759-8c96-4302-b6b5-b4274406bf89"
tags:
- core_cpp
- core_python
- macos_wheels
- flaky
- skip_on_premerge
job_env: MACOS
instance_type: macos-arm64
soft_fail: true
commands:
- ./ci/ray_ci/macos/macos_ci.sh run_flaky_tests
depends_on: block-macos-tests