[nativeaot][tests] Add smoke unit runtime tests for Native AOT on iOS platforms ...
authorMilos Kotlar <kotlarmilos@gmail.com>
Fri, 14 Jul 2023 14:26:40 +0000 (16:26 +0200)
committerGitHub <noreply@github.com>
Fri, 14 Jul 2023 14:26:40 +0000 (16:26 +0200)
commit9c8c9736d89f6a6a7be4d8394e97f746757d03ee
tree329a21f6f0f70ec55c49a6a31f783c2eb94bf798
parent9e21a91bedc09d35623e3baa0071a2046124a5e2
[nativeaot][tests] Add smoke unit runtime tests for Native AOT on iOS platforms (#87260)

* Initial commit

* Add runtime-ioslike-coreclr and runtime-ioslike-mono azp runs

* Add support for stripping debug symbols and enabling IL stripping during AOT compilation on iOS

* Use the _AppleGenerateAppBundle target from AppleBuild.targets to build the app bundle

* Update the CI to use cross-build

* Update the sample app to use the cross-build

* Disable failing tests with OperatingSystem.Is...().

* Update perf build command for Native AOT

* Update IlcToolsPath to use cross-build ilc path

* Use /p:BuildNativeAOTRuntimePack=true to pick up NativeAOT assets instead of CoreCLR
23 files changed:
eng/pipelines/common/global-build-job.yml
eng/pipelines/common/platform-matrix.yml
eng/pipelines/common/templates/runtimes/build-test-job.yml
eng/pipelines/common/templates/runtimes/test-variables.yml
eng/pipelines/common/variables.yml
eng/pipelines/common/xplat-setup.yml
eng/pipelines/coreclr/perf-non-wasm-jobs.yml
eng/pipelines/coreclr/templates/build-perf-sample-apps.yml
eng/pipelines/coreclr/templates/perf-job.yml
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslike.yml
eng/pipelines/extra-platforms/runtime-extra-platforms-ioslikesimulator.yml
eng/pipelines/runtime-ioslike-coreclr.yml [new file with mode: 0644]
eng/pipelines/runtime-ioslike-mono.yml [new file with mode: 0644]
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets
src/mono/msbuild/apple/build/AppleBuild.targets
src/mono/sample/iOS-NativeAOT/Makefile
src/mono/sample/iOS-NativeAOT/Program.csproj
src/tasks/AppleAppBuilder/Templates/main-simple.m
src/tests/Common/CLRTest.Execute.Bash.targets
src/tests/Directory.Build.props
src/tests/Directory.Build.targets
src/tests/build.proj
src/tests/nativeaot/SmokeTests/UnitTests/Delegates.cs