Fix Android build failures in .NET 10 CI environment - #182
Conversation
- Disabled Profiled AOT in `osu.Android.props` to resolve Mono AOT compiler SDK resolution errors. - Removed `global.json` to allow CI runners to use the latest available .NET 10 SDK version. - Added `dotnet workload update` to the release workflow to ensure fresh workload manifests before installation. - This combination of changes ensures the build can proceed without attempting to resolve missing AOT components that are incompatible with the current project configuration (trimming disabled).
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
I have addressed the build failure in the Android APK workflow by making the following adjustments:
osu.Android.props, I setAndroidEnableProfiledAottofalse. The build was failing because theMicrosoft.NET.Runtime.MonoAOTCompiler.Taskcould not be resolved. SinceRunAOTCompilationwas already disabled (to avoid issues with trimming being off), Profiled AOT should also be disabled in this environment.global.json: This file was pinning the .NET SDK version to10.0.100. Removing it allows the GitHub Actions runner to use the latest available SDK (e.g.,10.0.103), which improves compatibility with current workloads.dotnet workload updatestep before the Android workload installation in.github/workflows/release.yml. This ensures that the runner has the most up-to-date manifests for the .NET 10 workloads.A sanity build of the core
osu.Gameproject was performed to ensure no regressions in the main codebase.PR created automatically by Jules for task 6633183801022029856 started by @winnerspiros