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