File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ parameters:
9
9
- name : tripletPattern
10
10
displayName : ' Enable triplets which contain this substring'
11
11
type : string
12
- default : ' - '
12
+ default : ' android '
13
13
14
14
jobs :
15
15
- template : windows/azure-pipelines.yml
Original file line number Diff line number Diff line change @@ -128,6 +128,19 @@ if ($Triplet -eq 'x64-windows-release') {
128
128
$tripletArg = " --triplet=$Triplet "
129
129
}
130
130
131
+ $override_ndk = ' r28b'
132
+ if ($IsLinux -and $Triplet -match ' android' -and $override_ndk -ne ' ' )
133
+ {
134
+ $override_ndk_url = ' https://dl.google.com/android/repository/android-ndk-r28b-linux.zip'
135
+ $override_ndk_sha512 = ' 25f4517febcc6a37a762ec158daf42ff4bd6fd6ea643959395eef109f4f29a8f5256ee997f7c40fee66282686f19cd254c17d2f7ccfa80a4f601bff262997f57'
136
+ Write-Host " Downloading Android NDK $override_ndk "
137
+ & " ./vcpkg" x- download android- ndk- $override_ndk - linux.zip " --sha512=$override_ndk_sha512 " " --url=$override_ndk_url " @cachingArgs
138
+ Write-Host " Unpacking"
139
+ & unzip - q android- ndk- $override_ndk - linux.zip
140
+ $env: ANDROID_NDK_HOME = Join-Path $Pwd " android-ndk-$override_ndk "
141
+ $NoParentHashes = $true
142
+ }
143
+
131
144
$failureLogs = Join-Path $ArtifactStagingDirectory ' failure-logs'
132
145
$failureLogsArg = " --failure-logs=$failureLogs "
133
146
$knownFailuresFromArgs = @ ()
You can’t perform that action at this time.
0 commit comments