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

[mono][ios] Enable fullAOT mode for runtime tests #92523

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ae38cbd
Enable fullAOT mode
kotlarmilos Sep 23, 2023
c4a3793
Add ILStrip property
kotlarmilos Sep 23, 2023
85c9e47
Add ILStrip property
kotlarmilos Sep 23, 2023
7e1a182
Merge branch 'dotnet:main' into feature/apple-mobile-runtime-tests-fu…
kotlarmilos Sep 25, 2023
2769d31
Fix typo
kotlarmilos Sep 26, 2023
9e6b2d9
Increase timeout to allow fullAOT compilation
kotlarmilos Sep 26, 2023
252fe76
Merge branch 'main' of github.com:kotlarmilos/runtime into feature/ap…
kotlarmilos Dec 25, 2023
6c05445
Use lazy load parameter to avoid loading CommandLine.dll
kotlarmilos Dec 26, 2023
8275bd8
Disable CI jobs
kotlarmilos Dec 26, 2023
9939533
Set default directory for ExtraDlls in build.proj
kotlarmilos Dec 26, 2023
0e16309
Use lazy load parameter to avoid loading CommandLine.dll
kotlarmilos Dec 26, 2023
76c28ad
[tests] Resolve failing tests
kotlarmilos Dec 27, 2023
9de3500
[tests] Resolve failing tests
kotlarmilos Dec 27, 2023
ed8eed9
[tests] Resolve failing tests
kotlarmilos Dec 27, 2023
7222c14
[tests] Run tests with just-run command to reduce overall time
kotlarmilos Dec 28, 2023
8c346b8
[tests] Fix build args
kotlarmilos Dec 28, 2023
6dd49aa
[tests] Update xharness commands to add target parameter
kotlarmilos Dec 29, 2023
dd21ac4
[infra] Enable runtime.yml jobs
kotlarmilos Jan 29, 2024
8d47095
Merge branch 'dotnet:main' into feature/apple-mobile-runtime-tests-fu…
kotlarmilos Jan 29, 2024
43c230b
[infra] Move ioslike runtime jobs to runtime.yml
kotlarmilos Jan 29, 2024
a1298b9
[infra] Update xharness commands to include output_directory parameter
kotlarmilos Jan 30, 2024
15c40f3
[infra] Refactor xharness script to remove launch timeout
kotlarmilos Feb 2, 2024
d6a6e0c
Enable runtime.yml jobs
kotlarmilos Feb 2, 2024
cc8d0ec
Merge branch 'dotnet:main' into feature/apple-mobile-runtime-tests-fu…
kotlarmilos Feb 2, 2024
9b7253e
Disable runtime.yml jobs
kotlarmilos Feb 2, 2024
2a2fc98
[infra] Run Xunit runtime tests on Apple mobile platforms
kotlarmilos Feb 7, 2024
0619b2a
[infra] Run merged tests without AppleTestRunner
kotlarmilos Feb 8, 2024
1ccd204
[infra] Fix xharness command for runtime tests
kotlarmilos Feb 9, 2024
83f9a74
Enable runtime.yml jobs
kotlarmilos Feb 9, 2024
7c47428
Merge branch 'dotnet:main' into feature/apple-mobile-runtime-tests-fu…
kotlarmilos Feb 9, 2024
4aa2dac
Disable runtime.yml jobs
kotlarmilos Feb 9, 2024
ca8f6c2
Use AppleTestRunner for merged tests
kotlarmilos Feb 9, 2024
708a3c7
[tests] Enable runtime.yml jobs
kotlarmilos Mar 7, 2024
f7fc7e0
Merge branch 'main' into feature/apple-mobile-runtime-tests-fullaot-mode
kotlarmilos Mar 7, 2024
81a1c90
[tests] Disable runtime.yml jobs
kotlarmilos Mar 7, 2024
ac8129c
Revert changes
kotlarmilos Apr 17, 2024
0695d9e
Revert changes
kotlarmilos Apr 17, 2024
7e9f10e
Merge branch 'main' into feature/apple-mobile-runtime-tests-fullaot-mode
kotlarmilos Apr 17, 2024
c93059a
Run only Apple mobile jobs
kotlarmilos Apr 17, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
creator: dotnet-bot
compileOnHelix: true
interpreter: true
testBuildArgs: /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:MonoForceInterpreter=true /p:BuildTestsOnHelix=true
testBuildArgs: tree baseservices /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:MonoForceInterpreter=false /p:BuildTestsOnHelix=true
testRunNamePrefixSuffix: Mono_$(_BuildConfig)
extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true

Expand Down
252 changes: 126 additions & 126 deletions eng/pipelines/global-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,136 +38,136 @@ extends:
jobs:
- template: /eng/pipelines/common/evaluate-default-paths.yml

- stage: Build
jobs:
# - stage: Build
# jobs:

#
# Build with Release config and Debug runtimeConfiguration
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: release
platforms:
- windows_x86
- osx_x64
- osx_arm64
jobParameters:
testGroup: innerloop
nameSuffix: Runtime_Debug
buildArgs: -c release -runtimeConfiguration debug
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build with Release config and Debug runtimeConfiguration
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: release
# platforms:
# - windows_x86
# - osx_x64
# - osx_arm64
# jobParameters:
# testGroup: innerloop
# nameSuffix: Runtime_Debug
# buildArgs: -c release -runtimeConfiguration debug
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build with Release config and runtimeConfiguration with MSBuild generator
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: release
platforms:
- windows_x86
jobParameters:
testGroup: innerloop
nameSuffix: MSBuild_CMake
buildArgs: -c Release -msbuild
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build with Release config and runtimeConfiguration with MSBuild generator
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: release
# platforms:
# - windows_x86
# jobParameters:
# testGroup: innerloop
# nameSuffix: MSBuild_CMake
# buildArgs: -c Release -msbuild
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build with Debug config and Release runtimeConfiguration
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: debug
platforms:
- linux_x64_dev_innerloop
jobParameters:
testGroup: innerloop
nameSuffix: Runtime_Release
buildArgs: -c debug -runtimeConfiguration release
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build with Debug config and Release runtimeConfiguration
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: debug
# platforms:
# - linux_x64_dev_innerloop
# jobParameters:
# testGroup: innerloop
# nameSuffix: Runtime_Release
# buildArgs: -c debug -runtimeConfiguration release
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true),
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build with RuntimeFlavor only. This exercise code paths where only RuntimeFlavor is
# specified. Catches cases where we depend on Configuration also being specified
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: debug
platforms:
- linux_x64_dev_innerloop
jobParameters:
testGroup: innerloop
nameSuffix: RuntimeFlavor_Mono
buildArgs: /p:RuntimeFlavor=Mono
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build with RuntimeFlavor only. This exercise code paths where only RuntimeFlavor is
# # specified. Catches cases where we depend on Configuration also being specified
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: debug
# platforms:
# - linux_x64_dev_innerloop
# jobParameters:
# testGroup: innerloop
# nameSuffix: RuntimeFlavor_Mono
# buildArgs: /p:RuntimeFlavor=Mono
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build Mono + Libraries. This exercises the code path where we build libraries without
# first building CoreCLR
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: debug
platforms:
- windows_x64
jobParameters:
testGroup: innerloop
nameSuffix: Mono_Libraries
buildArgs: -subset mono+libs /p:RuntimeFlavor=Mono
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build Mono + Libraries. This exercises the code path where we build libraries without
# # first building CoreCLR
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: debug
# platforms:
# - windows_x64
# jobParameters:
# testGroup: innerloop
# nameSuffix: Mono_Libraries
# buildArgs: -subset mono+libs /p:RuntimeFlavor=Mono
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build Libraries AllConfigurations. This exercises the code path where we build libraries for all
# configurations on a non Windows operating system.
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/global-build-job.yml
buildConfig: debug
platforms:
- linux_x64_dev_innerloop
jobParameters:
nameSuffix: Libraries_AllConfigurations
buildArgs: -subset libs -allconfigurations
timeoutInMinutes: 120
condition:
or(
eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
eq(variables['isRollingBuild'], true))
# #
# # Build Libraries AllConfigurations. This exercises the code path where we build libraries for all
# # configurations on a non Windows operating system.
# #
# - template: /eng/pipelines/common/platform-matrix.yml
# parameters:
# jobTemplate: /eng/pipelines/common/global-build-job.yml
# buildConfig: debug
# platforms:
# - linux_x64_dev_innerloop
# jobParameters:
# nameSuffix: Libraries_AllConfigurations
# buildArgs: -subset libs -allconfigurations
# timeoutInMinutes: 120
# condition:
# or(
# eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_non_mono_and_wasm.containsChange'], true),
# eq(variables['isRollingBuild'], true))

#
# Build Portable SourceBuild
#
- template: /eng/common/templates/jobs/source-build.yml
parameters:
platforms:
- name: Linux_x64
targetRid: linux-x64
container: SourceBuild_linux_x64
# #
# # Build Portable SourceBuild
# #
# - template: /eng/common/templates/jobs/source-build.yml
# parameters:
# platforms:
# - name: Linux_x64
# targetRid: linux-x64
# container: SourceBuild_linux_x64
Loading
Loading