1tasks: 2 ubuntu: 3 platform: ubuntu2004 4 build_targets: 5 - "//..." 6 test_targets: 7 - "//..." 8 environment: 9 EXPECTED_HOST_CONSTRAINTS: '["@platforms//cpu:x86_64", "@platforms//os:linux"]' 10 macos: 11 platform: macos 12 build_targets: 13 - "//..." 14 test_targets: 15 - "//..." 16 environment: 17 EXPECTED_HOST_CONSTRAINTS: '["@platforms//cpu:x86_64", "@platforms//os:osx"]' 18 macos_arm64: 19 platform: macos_arm64 20 build_targets: 21 - "//..." 22 test_targets: 23 - "//..." 24 environment: 25 EXPECTED_HOST_CONSTRAINTS: '["@platforms//cpu:aarch64", "@platforms//os:osx"]' 26 windows: 27 platform: windows 28 build_targets: 29 - "//..." 30 # We don't run this test on Windows, because amazingly, sh_test doesn't work on Windows for exactly 31 # the @platforms repo (see https://github.com/bazelbuild/platforms/pull/86#issuecomment-2011954684) 32 #test_targets: 33 #- "//..." 34 #environment: 35 # EXPECTED_HOST_CONSTRAINTS: '["@platforms//cpu:x86_64", "@platforms//os:windows"]' 36