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

Conversation

kotlarmilos
Copy link
Member

@kotlarmilos kotlarmilos commented Sep 23, 2023

Work in progress.

Description

This PR aims to enable fullAOT mode for runtime tests. Additionally, it should reduce the build time by enabling /p:EnableAggressiveTrimming=true and avoid generating Xcode project. To run runtime tests locally, follow the steps below.

  1. Build the repository:
./build.sh mono+libs -os ios -arch arm64
  1. Compile the tests:
./src/tests/build.sh  ci os ios arm64 Debug -mono tree baseservices/mono /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:MonoForceInterpreter=false /p:LibrariesConfiguration=Debug /bl

Tasks

@kotlarmilos kotlarmilos added this to the 9.0.0 milestone Sep 23, 2023
@kotlarmilos kotlarmilos self-assigned this Sep 23, 2023
@ghost
Copy link

ghost commented Sep 23, 2023

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Work in progress.

This PR aims to enable fullAOT mode for runtime tests.

Author: kotlarmilos
Assignees: kotlarmilos
Labels:

area-Infrastructure-mono, os-ios

Milestone: 9.0.0

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike

@ghost ghost closed this Jan 28, 2024
@kotlarmilos kotlarmilos reopened this Jan 29, 2024
This commit adds Xunit runtime tests for Apple mobile platforms.

There are two groups of runtime tests: Xunit and legacy. Legacy tests expose the main method and cannot be run with AppleTestRunner. The Xunit tests are executed with AppleTestRunner. In both cases, it is necessary to pass a list of assemblies to run.

Tests that are not part of any merged testing groups are grouped by subcategories and bundled together.
@dotnet-policy-service dotnet-policy-service bot removed this from the 9.0.0 milestone Apr 7, 2024
@kotlarmilos kotlarmilos reopened this Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant