From 86b2e02dbfe1e9230cc97dd228b17c9f005fdaf0 Mon Sep 17 00:00:00 2001 From: David Nguyen <87228593+davidnguyen-tech@users.noreply.github.com> Date: Wed, 22 Jul 2026 14:41:06 +0200 Subject: [PATCH] Skip empty iOS NativeAOT Helix submission The servicing branch no longer has enabled iOS NativeAOT device tests, so preserve build coverage while skipping the empty Helix submission. Keep tvOS behavior unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 332b1207-8473-4b2b-8864-30da72ee4f6b --- .../runtime-extra-platforms-ioslike.yml | 2 ++ eng/pipelines/runtime.yml | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml b/eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml index ef0425042b5e6d..f02a1c4aa14b6e 100644 --- a/eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml +++ b/eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml @@ -124,6 +124,8 @@ jobs: creator: dotnet-bot testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig) extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true + # Remove this iOS exclusion if iOS NativeAOT device tests are re-enabled. + condition: ne(variables['osGroup'], 'ios') # # Build the whole product using NativeAOT for iOS/tvOS and run runtime tests with iOS/tvOS devices diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index bbca24180bc304..c6f1f2130ff2fc 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -695,11 +695,14 @@ extends: creator: dotnet-bot testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig) extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true + # Remove this iOS exclusion if iOS NativeAOT device tests are re-enabled. condition: >- - or( - eq(variables['librariesContainsChange'], true), - eq(variables['coreclrContainsChange'], true), - eq(variables['isRollingBuild'], true)) + and( + ne(variables['osGroup'], 'ios'), + or( + eq(variables['librariesContainsChange'], true), + eq(variables['coreclrContainsChange'], true), + eq(variables['isRollingBuild'], true))) # # MacCatalyst interp - requires AOT Compilation and Interp flags