Skip to content

Switch private build jobs to NetCore1ESPool-Internal pool with custom images#5118

Open
akoeplinger wants to merge 1 commit intodotnet:mainfrom
akoeplinger:switch-private-builds-to-netcore1es-internal-pool
Open

Switch private build jobs to NetCore1ESPool-Internal pool with custom images#5118
akoeplinger wants to merge 1 commit intodotnet:mainfrom
akoeplinger:switch-private-builds-to-netcore1es-internal-pool

Conversation

@akoeplinger
Copy link
Member

@LoopedBard3
Copy link
Member

I ran another internal test with this PR rebased on main performance repo: __. It seems that both with and without the rebase, the internal runs are hitting issues with android builds:

$ pushd "D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet new android --output app --force --name NetAndroidDefault
The template "Android Application" was created successfully.
  $ popd
$ pushd "D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet restore D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj --packages D:\a\_work\1\s\performance\artifacts\packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 -bl:D:\a\_work\1\s\performance\CorrelationStaging\payload\scenarios_out\netandroid\netandroid.mono_Default.binlog-restore.binlog /p:EnableWindowsTargeting=true
  Determining projects to restore...
  Restored D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj (in 521 ms).
$ popd
$ pushd "D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid"
$ dotnet publish D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj --configuration Debug /p:NuGetPackageRoot=D:\a\_work\1\s\performance\artifacts\packages\ /p:RestorePackagesPath=D:\a\_work\1\s\performance\artifacts\packages\ /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 --output D:\a\_work\1\s\performance\CorrelationStaging\payload\scenarios_out\netandroid --runtime android-arm64 --framework net11.0-android /p:UseMonoRuntime=true /p:EmbedAssembliesIntoApk=true -bl:D:\a\_work\1\s\performance\CorrelationStaging\payload\scenarios_out\netandroid\netandroid.mono_Default.binlog --self-contained /p:EnableWindowsTargeting=true
  Determining projects to restore...
  Restored D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj (in 236 ms).
D:\a\_work\1\s\performance\CorrelationStaging\payload\dotnet\sdk\11.0.100-preview.3.26118.109\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work\1\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows\36.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: Could not find android.jar for API level 36. This means the Android SDK platform for API level 36 is not installed; it was expected to be in `C:\Program Files (x86)\Android\android-sdk\platforms\android-36\android.jar`. [D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work\1\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows\36.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: You can install the missing API level by running `dotnet build -t:InstallAndroidDependencies -f net11.0-android "-p:AndroidSdkDirectory=C:\Program Files (x86)\Android\android-sdk"`, or change the project to target an API version that is installed. [D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
D:\a\_work\1\s\performance\CorrelationStaging\payload\dotnet\packs\Microsoft.Android.Sdk.Windows\36.1.99-preview.1.120\tools\Xamarin.Android.Tooling.targets(88,5): error XA5207: See https://aka.ms/xa5207 for more details. [D:\a\_work\1\s\performance\CorrelationStaging\payload\performance\src\scenarios\netandroid\app\NetAndroidDefault.csproj]
$ popd

Do you know if there are some internal queues that have the android adk installed?

@LoopedBard3
Copy link
Member

From what I can tell, the android SDK is preinstalled in the Github images so we don't currently do anything to install it: https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md#android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments