Skip to content

Commit 1905046

Browse files
agockeericstjmatouskozak
committed
Move default build images to macos 15 (and xcode 16) (dotnet#120589)
Co-authored-by: Eric StJohn <ericstj@microsoft.com> Co-authored-by: Matous Kozak <matouskozak@seznam.cz> (cherry picked from commit eaafd7c)
1 parent 04096ee commit 1905046

3 files changed

Lines changed: 26 additions & 13 deletions

File tree

eng/pipelines/common/xplat-setup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ jobs:
160160
container: ${{ parameters.container }}
161161

162162
${{ if eq(parameters.jobParameters.pool, '') }}:
163+
# N.B.: We should always be building on the latest available version of our build platform.
164+
# Each of these queues should be the latest version or have a tracking issue if the latest version
165+
# does not work for some reason.
163166
pool:
164167
# Public Linux Build Pool
165168
${{ if and(or(in(parameters.osGroup, 'linux', 'freebsd', 'android', 'tizen'), eq(parameters.jobParameters.hostedOs, 'linux')), eq(variables['System.TeamProject'], 'public')) }}:
@@ -174,7 +177,7 @@ jobs:
174177

175178
# OSX Public Build Pool (we don't have on-prem OSX BuildPool).
176179
${{ if and(in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator'), eq(variables['System.TeamProject'], 'public')) }}:
177-
vmImage: 'macos-13'
180+
vmImage: 'macos-15'
178181

179182
# Official build OSX pool
180183
${{ if and(in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator'), ne(variables['System.TeamProject'], 'public')) }}:

eng/pipelines/runtime.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,18 +1026,19 @@ extends:
10261026
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_tools_illink.containsChange'], true),
10271027
eq(variables['isRollingBuild'], true))
10281028
# extra steps, run tests
1029-
postBuildSteps:
1030-
- template: /eng/pipelines/libraries/helix.yml
1031-
parameters:
1032-
creator: dotnet-bot
1033-
testRunNamePrefixSuffix: Mono_$(_BuildConfig)
1034-
extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true
1035-
condition: >-
1036-
or(
1037-
eq(variables['librariesContainsChange'], true),
1038-
eq(variables['monoContainsChange'], true),
1039-
eq(variables['illinkContainsChange'], true),
1040-
eq(variables['isRollingBuild'], true))
1029+
# Disable tests on ios/tvos - mono - https://github.com/dotnet/runtime/issues/121967
1030+
# postBuildSteps:
1031+
# - template: /eng/pipelines/libraries/helix.yml
1032+
# parameters:
1033+
# creator: dotnet-bot
1034+
# testRunNamePrefixSuffix: Mono_$(_BuildConfig)
1035+
# extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true
1036+
# condition: >-
1037+
# or(
1038+
# eq(variables['librariesContainsChange'], true),
1039+
# eq(variables['monoContainsChange'], true),
1040+
# eq(variables['illinkContainsChange'], true),
1041+
# eq(variables['isRollingBuild'], true))
10411042

10421043
#
10431044
# iOS/tvOS devices

src/tests/issues.targets

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2430,6 +2430,15 @@
24302430
<ItemGroup Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'llvmfullaot' and '$(TargetArchitecture)' == 'x64'">
24312431
</ItemGroup>
24322432

2433+
<ItemGroup Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minijit' and '$(TargetArchitecture)' == 'x64'">
2434+
<ExcludeList Include="$(XunitTestBinBase)/Interop/Swift/SwiftRetAbiStress/**">
2435+
<Issue>https://github.com/dotnet/runtime/issues/121983</Issue>
2436+
</ExcludeList>
2437+
<ExcludeList Include="$(XunitTestBinBase)/Interop/Swift/SwiftCallbackAbiStress/**">
2438+
<Issue>https://github.com/dotnet/runtime/issues/121983</Issue>
2439+
</ExcludeList>
2440+
</ItemGroup>
2441+
24332442
<ItemGroup Condition="'$(RuntimeFlavor)' == 'mono' and '$(RuntimeVariant)' == 'minijit' and '$(TargetArchitecture)' == 'arm64'">
24342443
<ExcludeList Include="$(XunitTestBinBase)/Interop/SuppressGCTransition/SuppressGCTransitionTest/**">
24352444
<Issue>https://github.com/dotnet/runtime/issues/82859</Issue>

0 commit comments

Comments
 (0)