diff --git a/.bazelrc b/.bazelrc index dbcd52e..34db17a 100644 --- a/.bazelrc +++ b/.bazelrc @@ -32,7 +32,6 @@ build:clang --host_cxxopt="-fvisibility=hidden" # iOS setup build:ios --ios_multi_cpus=sim_arm64 -build:ios --macos_cpus=arm64 build:ios --@rules_apple//apple/build_settings:ios_simulator_device="iPhone 16 Pro" # Platform-specific options for each supported platform. diff --git a/infra/test-all.py b/infra/test-all.py index a3e50d7..8b9e4f1 100755 --- a/infra/test-all.py +++ b/infra/test-all.py @@ -33,7 +33,6 @@ def find_tests(package): - attr(tags, no-ci, $t) - attr(tags, no-{os_name}-ci, $t) - attr(tags, no-{remote}-ci, $t) - - attr(tags, no-{remote}-{os_name}-ci, $t) """.strip() print(f"Executing query to find test targets:\n{query}") diff --git a/ios/BUILD b/ios/BUILD index 37c3c44..b097253 100644 --- a/ios/BUILD +++ b/ios/BUILD @@ -1,6 +1,5 @@ load("@bazel_skylib//rules:build_test.bzl", "build_test") load("@rules_apple//apple:ios.bzl", "ios_application", "ios_ui_test", "ios_unit_test") -load("@rules_apple//apple:macos.bzl", "macos_unit_test") load("@rules_swift//swift:swift.bzl", "swift_library") swift_library( @@ -54,12 +53,3 @@ ios_ui_test( test_host = ":HelloApp", deps = [":HelloAppUITestLib"], ) - -macos_unit_test( - name = "HelloMacTest", - minimum_os_version = "14.0", - tags = [ - "no-local-macos-ci", # Mac local will fail (no console user) - ], - deps = [":HelloTestLib"], -) diff --git a/platform/macos_arm64/BUILD b/platform/macos_arm64/BUILD index 30b624f..10e1237 100644 --- a/platform/macos_arm64/BUILD +++ b/platform/macos_arm64/BUILD @@ -13,7 +13,7 @@ platform( ], exec_properties = { "Pool": "macos_arm_m2", - "sandboxAllowed": "False", # ios builds need to escape the sandbox in order to correctly reach XCode. + "test.sandboxAllowed": "False", # ios tests need to escape the sandbox in order to correctly reach the simulator service. }, )