Add Cirrus macOS as a runner that supports building for Android but not testing (#2514)
* Add Cirrus macOS as a runner that supports building for Android but not testing * Try to trigger Cirrus by changing .cirrus.yml
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ linux_aarch64_task:
|
|||||||
<<: *RUN_TESTS
|
<<: *RUN_TESTS
|
||||||
|
|
||||||
windows_x86_task:
|
windows_x86_task:
|
||||||
# The task takes ~55 minutes while the timeout happens
|
# The task takes ~55 minutes while the timeout happens after 60 minutes by default,
|
||||||
# after 60 minutes by default, let's allow some wiggle room.
|
# let's allow some wiggle room.
|
||||||
timeout_in: 120m
|
timeout_in: 120m
|
||||||
windows_container:
|
windows_container:
|
||||||
image: cirrusci/windowsservercore:visualstudio2022
|
image: cirrusci/windowsservercore:visualstudio2022
|
||||||
|
|||||||
@@ -28,12 +28,10 @@ if (platform.system(), platform.machine()) not in [
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Detect CI services which have the Android SDK pre-installed.
|
# Detect CI services which have the Android SDK pre-installed.
|
||||||
ci_supports_build = any(
|
ci_supports_build = (
|
||||||
key in os.environ
|
("CIRRUS_CI" in os.environ and platform.system() == "Darwin")
|
||||||
for key in [
|
or "GITHUB_ACTIONS" in os.environ
|
||||||
"GITHUB_ACTIONS",
|
or "TF_BUILD" in os.environ # Azure Pipelines
|
||||||
"TF_BUILD", # Azure Pipelines
|
|
||||||
]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if "ANDROID_HOME" not in os.environ:
|
if "ANDROID_HOME" not in os.environ:
|
||||||
|
|||||||
Reference in New Issue
Block a user