Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce iossimulator RIDs, and convert as needed #49305

Merged
merged 59 commits into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
b81dd56
WIP
directhex Mar 8, 2021
6f12cf7
WIP
directhex Mar 8, 2021
580aeb6
WIP
directhex Mar 8, 2021
54d56d7
WIP
directhex Mar 8, 2021
9e7ed10
CI
directhex Mar 8, 2021
e5cd1ed
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 8, 2021
fa79b54
Valid names may only contain alphanumeric characters and '_'
directhex Mar 8, 2021
8ea5d5f
Try again
directhex Mar 8, 2021
57cc541
Use subgroup in offset job name generation
directhex Mar 8, 2021
1611c15
Lean more into subgroups
directhex Mar 8, 2021
560045e
Create ios/tvos sim offsets in non-sim lane
directhex Mar 8, 2021
2459d01
Deal with OS component in RID containing a dash
directhex Mar 8, 2021
65035fb
Typo
directhex Mar 8, 2021
8c75eb9
subgroups in global-build-job
directhex Mar 8, 2021
c837923
Don't override in generate-offsets
directhex Mar 8, 2021
61882bf
Fix MSBuild property syntax
directhex Mar 8, 2021
e341abf
Fix AOT RIDs for ios-sim and tvos-sim
directhex Mar 8, 2021
659c7d7
Run iOS simulator x64 in staging
directhex Mar 9, 2021
99c74c1
Fix up building/running tests on ios-sim
directhex Mar 9, 2021
2df3d91
Apply exclusions correctly to sims
directhex Mar 9, 2021
71c03a1
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 9, 2021
1d03484
Bump ICU to build w/ renamed RIDs
directhex Mar 10, 2021
bf03e8e
In IOS test, deal with "ios" vs "ios-sim"
directhex Mar 10, 2021
a82f0ae
Merge branch 'ios-simulator-jamboree' of github.com:directhex/runtime…
directhex Mar 10, 2021
1b215a3
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 10, 2021
6588cfe
Detect "device or not" based on RID name
directhex Mar 10, 2021
3405316
Merge branch 'ios-simulator-jamboree' of github.com:directhex/runtime…
directhex Mar 10, 2021
a173015
Various ios vs ios-sim fixes
directhex Mar 11, 2021
ff2beba
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 11, 2021
1989605
Fix bad half-reverted changey
directhex Mar 11, 2021
528743f
Enable passing OS subgroups & overriding targetOS based on them to Helix
directhex Mar 11, 2021
d1b1f78
Indent varaibles
directhex Mar 11, 2021
5e4a69e
yaml!!
directhex Mar 11, 2021
30f6541
Override the OS in msbuild, apparently it's easier than yaml
directhex Mar 11, 2021
cf90702
Revert "Override the OS in msbuild, apparently it's easier than yaml"
directhex Mar 11, 2021
9775969
Try doing ios-sim conditional via env var
directhex Mar 11, 2021
f0ea01d
Fix
directhex Mar 11, 2021
f845ff2
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 12, 2021
51c3d04
Update src/libraries/Native/build-native.sh
directhex Mar 12, 2021
5060c65
Update src/mono/sample/iOS/Program.csproj
directhex Mar 12, 2021
44d2c06
Try using osGroup=ios-sim instead of osGroup=iOS, osSubGroup=_sim
directhex Mar 12, 2021
85ecc3f
Address PR review
directhex Mar 12, 2021
cceac84
Revert "Try using osGroup=ios-sim instead of osGroup=iOS, osSubGroup=…
directhex Mar 12, 2021
fd69889
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 15, 2021
f1a4851
Add ios-sim/tvos-sim to osGroups.json
directhex Mar 15, 2021
0443e3a
Revert "Add ios-sim/tvos-sim to osGroups.json"
directhex Mar 16, 2021
a65d642
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 17, 2021
c6f007d
Rename iOS-sim to iOSSimulator
directhex Mar 17, 2021
a8d42ed
Fix typo
directhex Mar 17, 2021
0eae82d
UpdateRuntimeFiles
directhex Mar 17, 2021
57668a9
Add iOSSimulator to xplat-setup
directhex Mar 17, 2021
7fb2dd2
Bump ICU
directhex Mar 17, 2021
07de08f
Add simulators to osGroups
directhex Mar 17, 2021
9c302e0
Fix case sensitivity error
directhex Mar 17, 2021
3e9b7f8
Fix a few casing issues
directhex Mar 18, 2021
6bcf466
Parent iossimulator to ios not unix. Fixes issues in known framework …
directhex Mar 18, 2021
613f971
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 18, 2021
85577a1
Fix bad Helix changes?
directhex Mar 18, 2021
7c9a4d1
Merge remote-tracking branch 'origin/main' into ios-simulator-jamboree
directhex Mar 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<TargetOS Condition="'$(TargetOS)' == '' and $([MSBuild]::IsOSPlatform('SOLARIS'))">Solaris</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $([MSBuild]::IsOSUnixLike())">Linux</TargetOS>
<TargetOS Condition="'$(TargetOS)' == '' and $([MSBuild]::IsOSPlatform('WINDOWS'))">windows</TargetOS>
<TargetsMobile Condition="'$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'MacCatalyst' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'Browser'">true</TargetsMobile>
<TargetsMobile Condition="'$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'iOS-sim' or '$(TargetOS)' == 'MacCatalyst' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'tvOS-sim' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'Browser'">true</TargetsMobile>
</PropertyGroup>

<!-- Platform property is required by RepoLayout.props in Arcade SDK. -->
Expand Down Expand Up @@ -121,7 +121,9 @@
<_portableOS Condition="'$(_runtimeOS)' == 'Browser'">browser</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'maccatalyst'">maccatalyst</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'ios'">ios</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'ios-sim'">ios-sim</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'tvos'">tvos</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'tvos-sim'">tvos-sim</_portableOS>
<_portableOS Condition="'$(_runtimeOS)' == 'android'">android</_portableOS>

<_runtimeOS Condition="$(_runtimeOS.StartsWith('tizen'))">linux</_runtimeOS>
Expand All @@ -148,7 +150,7 @@
<_toolRuntimeRID Condition="'$(_runtimeOS)' == 'android' and $([MSBuild]::IsOSPlatform('OSX'))">osx-x64</_toolRuntimeRID>

<!-- There are no Mac Catalyst, iOS or tvOS tools and it can be built on OSX only, so use that -->
<_toolRuntimeRID Condition="'$(_runtimeOS)' == 'maccatalyst' or '$(_runtimeOS)' == 'ios' or '$(_runtimeOS)' == 'tvos'">osx-x64</_toolRuntimeRID>
<_toolRuntimeRID Condition="'$(_runtimeOS)' == 'maccatalyst' or '$(_runtimeOS)' == 'ios' or '$(_runtimeOS)' == 'ios-sim' or '$(_runtimeOS)' == 'tvos' or '$(_runtimeOS)' == 'tvos-sim'">osx-x64</_toolRuntimeRID>

<MicrosoftNetCoreIlasmPackageRuntimeId>$(_toolRuntimeRID)</MicrosoftNetCoreIlasmPackageRuntimeId>

Expand All @@ -165,7 +167,9 @@
<_outputRID Condition="'$(TargetOS)' == 'Solaris'">solaris-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'MacCatalyst'">maccatalyst-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'iOS'">ios-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'iOS-sim'">ios-sim-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'tvOS'">tvos-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'tvOS-sim'">tvos-sim-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'Android'">android-$(TargetArchitecture)</_outputRID>
<_outputRID Condition="'$(TargetOS)' == 'Browser'">browser-$(TargetArchitecture)</_outputRID>

Expand All @@ -181,10 +185,10 @@
<TargetsNetBSD Condition="'$(TargetOS)' == 'NetBSD'">true</TargetsNetBSD>
<TargetsOSX Condition="'$(TargetOS)' == 'OSX'">true</TargetsOSX>
<TargetsMacCatalyst Condition="'$(TargetOS)' == 'MacCatalyst'">true</TargetsMacCatalyst>
<TargetsiOS Condition="'$(TargetOS)' == 'iOS'">true</TargetsiOS>
<TargetstvOS Condition="'$(TargetOS)' == 'tvOS'">true</TargetstvOS>
<TargetsiOSSimulator Condition="'$(TargetsiOS)' == 'true' and ('$(TargetArchitecture)' == 'x64' or '$(TargetArchitecture)' == 'x86')">true</TargetsiOSSimulator>
<TargetstvOSSimulator Condition="'$(TargetstvOS)' == 'true' and '$(TargetArchitecture)' == 'x64'">true</TargetstvOSSimulator>
<TargetsiOS Condition="'$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'iOS-sim'">true</TargetsiOS>
<TargetstvOS Condition="'$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'tvOS-sim'">true</TargetstvOS>
<TargetsiOSSimulator Condition="'$(TargetOS)' == 'iOS-sim'">true</TargetsiOSSimulator>
<TargetstvOSSimulator Condition="'$(TargetOS)' == 'tvOS-sim'">true</TargetstvOSSimulator>
<TargetsAndroid Condition="'$(TargetOS)' == 'Android'">true</TargetsAndroid>
<TargetsBrowser Condition="'$(TargetOS)' == 'Browser'">true</TargetsBrowser>
<TargetsWindows Condition="'$(TargetOS)' == 'windows'">true</TargetsWindows>
Expand Down
2 changes: 1 addition & 1 deletion eng/Subsets.props
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</ItemGroup>

<!-- Mono sets -->
<ItemGroup Condition="$(_subset.Contains('+mono.llvm+')) or $(_subset.Contains('+mono.aotcross+')) or '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'Browser'">
<ItemGroup Condition="$(_subset.Contains('+mono.llvm+')) or $(_subset.Contains('+mono.aotcross+')) or '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'iOS-sim' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'tvOS-sim' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'Browser'">
<ProjectToBuild Include="$(MonoProjectRoot)llvm\llvm-init.proj" Category="mono" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Dependencies>
<ProductDependencies>
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="6.0.0-preview.3.21151.1">
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="6.0.0-preview.3.21160.1">
<Uri>https://github.com/dotnet/icu</Uri>
<Sha>3dc14146be2c110eedc947afa62894f9b53b4f04</Sha>
<Sha>f8930f51020aeeeab5d3f96314b3c53d4122b6f9</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<!-- ILLink -->
<MicrosoftNETILLinkTasksVersion>6.0.100-preview.2.21126.1</MicrosoftNETILLinkTasksVersion>
<!-- ICU -->
<MicrosoftNETCoreRuntimeICUTransportVersion>6.0.0-preview.3.21151.1</MicrosoftNETCoreRuntimeICUTransportVersion>
<MicrosoftNETCoreRuntimeICUTransportVersion>6.0.0-preview.3.21160.1</MicrosoftNETCoreRuntimeICUTransportVersion>
<!-- Mono LLVM -->
<runtimelinuxarm64MicrosoftNETCoreRuntimeMonoLLVMSdkVersion>9.0.1-alpha.1.21158.1</runtimelinuxarm64MicrosoftNETCoreRuntimeMonoLLVMSdkVersion>
<runtimelinuxarm64MicrosoftNETCoreRuntimeMonoLLVMToolsVersion>9.0.1-alpha.1.21158.1</runtimelinuxarm64MicrosoftNETCoreRuntimeMonoLLVMToolsVersion>
Expand Down
6 changes: 5 additions & 1 deletion eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,12 @@ while [[ $# > 0 ]]; do
os="MacCatalyst" ;;
tvos)
os="tvOS" ;;
tvos-sim)
os="tvOS-sim" ;;
ios)
os="iOS" ;;
ios-sim)
os="iOS-sim" ;;
android)
os="Android" ;;
browser)
Expand All @@ -278,7 +282,7 @@ while [[ $# > 0 ]]; do
os="Solaris" ;;
*)
echo "Unsupported target OS '$2'."
echo "The allowed values are windows, Linux, FreeBSD, OSX, MacCatalyst, tvOS, iOS, Android, Browser, illumos and Solaris."
echo "The allowed values are windows, Linux, FreeBSD, OSX, MacCatalyst, tvOS, tvOS-sim, iOS, iOS-sim, Android, Browser, illumos and Solaris."
exit 1
;;
esac
Expand Down
4 changes: 2 additions & 2 deletions eng/native/build-commons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,10 @@ fi
if [[ "$__BuildArch" == wasm ]]; then
# nothing to do here
true
elif [[ "$__TargetOS" == iOS ]]; then
elif [[ "$__TargetOS" == iOS || "$__TargetOS" == iOS-sim ]]; then
# nothing to do here
true
elif [[ "$__TargetOS" == tvOS ]]; then
elif [[ "$__TargetOS" == tvOS || "$__TargetOS" == tvOS-sim ]]; then
# nothing to do here
true
elif [[ "$__TargetOS" == Android ]]; then
Expand Down
16 changes: 8 additions & 8 deletions eng/native/configureplatform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if(CLR_CMAKE_HOST_OS STREQUAL Darwin)
set(CMAKE_ASM_COMPILE_OBJECT "${CMAKE_C_COMPILER} <FLAGS> <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>")
endif(CLR_CMAKE_HOST_OS STREQUAL Darwin)

if(CLR_CMAKE_HOST_OS STREQUAL iOS)
if(CLR_CMAKE_HOST_OS STREQUAL iOS OR CLR_CMAKE_HOST_OS STREQUAL iOS-sim)
set(CLR_CMAKE_HOST_UNIX 1)
set(CLR_CMAKE_HOST_IOS 1)
if(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
Expand All @@ -102,9 +102,9 @@ if(CLR_CMAKE_HOST_OS STREQUAL iOS)
else()
clr_unknown_arch()
endif()
endif(CLR_CMAKE_HOST_OS STREQUAL iOS)
endif(CLR_CMAKE_HOST_OS STREQUAL iOS OR CLR_CMAKE_HOST_OS STREQUAL iOS-sim)

if(CLR_CMAKE_HOST_OS STREQUAL tvOS)
if(CLR_CMAKE_HOST_OS STREQUAL tvOS OR CLR_CMAKE_HOST_OS STREQUAL tvOS-sim)
set(CLR_CMAKE_HOST_UNIX 1)
set(CLR_CMAKE_HOST_TVOS 1)
if(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64")
Expand All @@ -114,7 +114,7 @@ if(CLR_CMAKE_HOST_OS STREQUAL tvOS)
else()
clr_unknown_arch()
endif()
endif(CLR_CMAKE_HOST_OS STREQUAL tvOS)
endif(CLR_CMAKE_HOST_OS STREQUAL tvOS OR CLR_CMAKE_HOST_OS STREQUAL tvOS-sim)

if(CLR_CMAKE_HOST_OS STREQUAL Android)
set(CLR_CMAKE_HOST_UNIX 1)
Expand Down Expand Up @@ -300,20 +300,20 @@ if(CLR_CMAKE_TARGET_OS STREQUAL Darwin)
set(CLR_CMAKE_TARGET_OSX 1)
endif(CLR_CMAKE_TARGET_OS STREQUAL Darwin)

if(CLR_CMAKE_TARGET_OS STREQUAL iOS)
if(CLR_CMAKE_TARGET_OS STREQUAL iOS OR CLR_CMAKE_TARGET_OS STREQUAL iOS-sim)
set(CLR_CMAKE_TARGET_UNIX 1)
set(CLR_CMAKE_TARGET_IOS 1)
endif(CLR_CMAKE_TARGET_OS STREQUAL iOS)
endif(CLR_CMAKE_TARGET_OS STREQUAL iOS OR CLR_CMAKE_TARGET_OS STREQUAL iOS-sim)

if(CLR_CMAKE_TARGET_OS STREQUAL MacCatalyst)
set(CLR_CMAKE_TARGET_UNIX 1)
set(CLR_CMAKE_TARGET_MACCATALYST 1)
endif(CLR_CMAKE_TARGET_OS STREQUAL MacCatalyst)

if(CLR_CMAKE_TARGET_OS STREQUAL tvOS)
if(CLR_CMAKE_TARGET_OS STREQUAL tvOS OR CLR_CMAKE_TARGET_OS STREQUAL tvOS-sim)
set(CLR_CMAKE_TARGET_UNIX 1)
set(CLR_CMAKE_TARGET_TVOS 1)
endif(CLR_CMAKE_TARGET_OS STREQUAL tvOS)
endif(CLR_CMAKE_TARGET_OS STREQUAL tvOS OR CLR_CMAKE_TARGET_OS STREQUAL tvOS-sim)

if(CLR_CMAKE_TARGET_OS STREQUAL FreeBSD)
set(CLR_CMAKE_TARGET_UNIX 1)
Expand Down
4 changes: 4 additions & 0 deletions eng/native/init-distro-rid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,12 @@ initDistroRidGlobal()
distroRid="maccatalyst-$buildArch"
elif [ "$targetOs" = "tvOS" ]; then
distroRid="tvos-$buildArch"
elif [ "$targetOs" = "tvOS-sim" ]; then
distroRid="tvos-sim-$buildArch"
elif [ "$targetOs" = "iOS" ]; then
distroRid="ios-$buildArch"
elif [ "$targetOs" = "iOS-sim" ]; then
distroRid="ios-sim-$buildArch"
elif [ "$targetOs" = "Android" ]; then
distroRid="android-$buildArch"
elif [ "$targetOs" = "Browser" ]; then
Expand Down
7 changes: 7 additions & 0 deletions eng/pipelines/common/global-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ jobs:
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, '_musl')) }}:
- name: _osParameter
value: /p:RuntimeOS=linux-musl /p:OutputRid=linux-musl-${{ parameters.archType }}
- ${{ if and(eq(parameters.osGroup, 'tvOS'), eq(parameters.osSubGroup, '_sim')) }}:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use osGroup for iOS-sim and tvOS-sim rather than using this osSubGroup for consistency.

- name: _osParameter
value: -os tvOS-sim
- ${{ if and(eq(parameters.osGroup, 'iOS'), eq(parameters.osSubGroup, '_sim')) }}:
- name: _osParameter
value: -os iOS-sim


# Do not rename as it clashes with MSBuild property in libraries/build-native.proj
- name: _crossBuildPropertyArg
Expand Down
103 changes: 75 additions & 28 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -365,18 +365,40 @@ jobs:
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# tvOS x64
# tvOS arm64

- ${{ if containsValue(parameters.platforms, 'tvOS_x64') }}:
- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: tvOS
archType: arm64
targetRid: tvos-arm64
platform: tvOS_arm64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
${{ if eq(parameters.passPlatforms, true) }}:
platforms: ${{ parameters.platforms }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# tvOS Simulator x64

- ${{ if containsValue(parameters.platforms, 'tvOS_sim_x64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: tvOS
osSubGroup: _sim
archType: x64
targetRid: tvos-x64
platform: tvOS_x64
targetRid: tvos-sim-x64
platform: tvOS_sim_x64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
Expand All @@ -386,18 +408,19 @@ jobs:
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# tvOS arm64
# tvOS Simulator arm64

- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}:
- ${{ if containsValue(parameters.platforms, 'tvOS_sim_arm64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: tvOS
osSubGroup: _sim
archType: arm64
targetRid: tvos-arm64
platform: tvOS_arm64
targetRid: tvos-sim-arm64
platform: tvOS_sim_arm64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
Expand All @@ -407,18 +430,39 @@ jobs:
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# iOS x64
# iOS arm

- ${{ if containsValue(parameters.platforms, 'iOS_x64') }}:
- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: iOS
archType: x64
targetRid: ios-x64
platform: iOS_x64
archType: arm
targetRid: ios-arm
platform: iOS_arm
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
${{ if eq(parameters.passPlatforms, true) }}:
platforms: ${{ parameters.platforms }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# iOS arm64

- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: iOS
archType: arm64
targetRid: ios-arm64
platform: iOS_arm64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
Expand All @@ -428,61 +472,64 @@ jobs:
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# iOS x86
# iOS Simulator x64

- ${{ if containsValue(parameters.platforms, 'iOS_x86') }}:
- ${{ if containsValue(parameters.platforms, 'iOS_sim_x64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: iOS
archType: x86
targetRid: ios-x86
platform: iOS_x86
osSubGroup: _sim
archType: x64
targetRid: ios-sim-x64
platform: iOS_sim_x64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
${{ if eq(parameters.passPlatforms, true) }}:
platforms: ${{ parameters.platforms }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: OSX
${{ insert }}: ${{ parameters.jobParameters }}

# iOS arm
# iOS Simulator x86

- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}:
- ${{ if containsValue(parameters.platforms, 'iOS_sim_x86') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: iOS
archType: arm
targetRid: ios-arm
platform: iOS_arm
osSubGroup: _sim
archType: x86
targetRid: ios-sim-x86
platform: iOS_sim_x86
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
${{ if eq(parameters.passPlatforms, true) }}:
platforms: ${{ parameters.platforms }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: OSX
${{ insert }}: ${{ parameters.jobParameters }}

# iOS arm64
# iOS Simulator arm64

- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}:
- ${{ if containsValue(parameters.platforms, 'iOS_sim_arm64') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: iOS
osSubGroup: _sim
archType: arm64
targetRid: ios-arm64
platform: iOS_arm64
targetRid: ios-sim-arm64
platform: iOS_sim_arm64
jobParameters:
runtimeFlavor: mono
stagedBuild: ${{ parameters.stagedBuild }}
Expand Down
Loading