Skip to content

Commit

Permalink
Revert "Revert "Change our Android build and test legs to use the new…
Browse files Browse the repository at this point in the history
… CBL-Mariner-based images."" (#86967)
  • Loading branch information
jkoritzinsky authored Jun 1, 2023
1 parent 5953aab commit 71c9c73
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
20 changes: 20 additions & 0 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,26 @@ jobs:
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# Android x64 with Docker-in-Docker

- ${{ if containsValue(parameters.platforms, 'android_x64_docker') }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
variables: ${{ parameters.variables }}
osGroup: android
archType: x64
targetRid: android-x64
platform: android_x64
shouldContinueOnError: ${{ parameters.shouldContinueOnError }}
container: android_docker
jobParameters:
runtimeFlavor: mono
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ insert }}: ${{ parameters.jobParameters }}

# Android x86

- ${{ if containsValue(parameters.platforms, 'android_x86') }}:
Expand Down
8 changes: 6 additions & 2 deletions eng/pipelines/common/templates/pipeline-with-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ resources:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm64-alpine
env:
ROOTFS_DIR: /crossrootfs/arm64
# This container contains all required toolsets to build for Android and for Linux with bionic libc.

# This container contains all required toolsets to build for Android and for Linux with bionic libc.
- container: linux_bionic
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-android
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-android

# This container contains all required toolsets to build for Android as well as tooling to build docker images.
- container: android_docker
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-android-docker

- container: linux_x64
image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-amd64
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/runtime-android-grpc-client-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extends:
buildConfig: Release
runtimeFlavor: mono
platforms:
- android_x64
- android_x64_docker
jobParameters:
testGroup: innerloop
nameSuffix: AllSubsets_Mono_gRPC
Expand Down

0 comments on commit 71c9c73

Please sign in to comment.