Skip to content

Commit

Permalink
Use our new Android builder image
Browse files Browse the repository at this point in the history
  • Loading branch information
directhex committed Mar 30, 2020
1 parent a0ea317 commit a1d5112
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
10 changes: 5 additions & 5 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
archType: x64
platform: Android_x64
container:
image: centos-7-359e48e-20200313130914
image: ubuntu-18.04-android-8505948-20200327151156
registry: mcr
jobParameters:
runtimeFlavor: mono
Expand All @@ -229,9 +229,9 @@ jobs:
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Android
archType: arm
platform: Android_x64
platform: Android_arm
container:
image: centos-7-359e48e-20200313130914
image: ubuntu-18.04-android-8505948-20200327151156
registry: mcr
jobParameters:
runtimeFlavor: mono
Expand All @@ -251,9 +251,9 @@ jobs:
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Android
archType: arm64
platform: Android_x64
platform: Android_arm64
container:
image: centos-7-359e48e-20200313130914
image: ubuntu-18.04-android-8505948-20200327151156
registry: mcr
jobParameters:
runtimeFlavor: mono
Expand Down
3 changes: 1 addition & 2 deletions eng/pipelines/common/xplat-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:

- ${{ if eq(parameters.osGroup, 'Android') }}:
- name: ANDROID_NDK_HOME
# default here is value used by Android Studio
value: ~/Android/Sdk/ndk
value: /usr/local/ndk

- name: runtimeFlavorName
${{ if eq(parameters.jobParameters.runtimeFlavor, 'mono') }}:
Expand Down
8 changes: 0 additions & 8 deletions eng/pipelines/mono/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ jobs:
- ${{ if in(parameters.osGroup, 'OSX', 'iOS') }}:
- script: sh $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
displayName: Install native dependencies
- ${{ if in(parameters.osGroup, 'Android') }}:
- script: |
wget https://dl.google.com/android/repository/android-ndk-r21-linux-x86_64.zip
mkdir -p ~/Android/Sdk
yum -y install unzip
unzip android-ndk-r21-linux-x86_64.zip -d ~/Android/Sdk
mv ~/Android/Sdk/*ndk* ~/Android/Sdk/ndk
displayName: Install Android NDK
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
# Necessary to install python
- script: $(Build.SourcesDirectory)\eng\common\init-tools-native.cmd -InstallDirectory $(Build.SourcesDirectory)\native-tools -Force
Expand Down

0 comments on commit a1d5112

Please sign in to comment.