mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #21166 - servo:android-x86, r=jdm
Test Android x86 on CI Fixes https://github.com/servo/servo/issues/21124 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21166) <!-- Reviewable:end -->
This commit is contained in:
commit
8af9409339
3 changed files with 25 additions and 5 deletions
17
etc/ci/bootstrap-android-and-accept-licences.sh
Executable file
17
etc/ci/bootstrap-android-and-accept-licences.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
|
set -o errexit
|
||||||
|
set -o nounset
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
# We enable pipefail above to satisfy servo-tidy, but disable it again here.
|
||||||
|
# In the case of the 'yes' program,
|
||||||
|
# exiting when the stdout pipe is broken is expected.
|
||||||
|
set +o pipefail
|
||||||
|
|
||||||
|
cd $(dirname ${0})/../..
|
||||||
|
yes | ./mach bootstrap-android
|
|
@ -160,7 +160,13 @@ android:
|
||||||
- python ./etc/ci/check_dynamic_symbols.py
|
- python ./etc/ci/check_dynamic_symbols.py
|
||||||
|
|
||||||
android-x86:
|
android-x86:
|
||||||
- echo FIXME To be filled in once Buildbot is configured
|
- ./mach clean-nightlies --keep 3 --force
|
||||||
|
- ./mach clean-cargo-cache --keep 3 --force
|
||||||
|
- ./etc/ci/bootstrap-android-and-accept-licences.sh
|
||||||
|
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach build --target i686-linux-android --release
|
||||||
|
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach package --target i686-linux-android --release
|
||||||
|
- env --unset ANDROID_NDK --unset ANDROID_SDK ./mach test-android-startup --release
|
||||||
|
- bash ./etc/ci/lockfile_changed.sh
|
||||||
|
|
||||||
android-nightly:
|
android-nightly:
|
||||||
- ./mach clean-nightlies --keep 3 --force
|
- ./mach clean-nightlies --keep 3 --force
|
||||||
|
|
|
@ -58,10 +58,7 @@ class MachCommands(CommandBase):
|
||||||
@Command('bootstrap-android',
|
@Command('bootstrap-android',
|
||||||
description='Install the Android SDK and NDK.',
|
description='Install the Android SDK and NDK.',
|
||||||
category='bootstrap')
|
category='bootstrap')
|
||||||
@CommandArgument('--update',
|
def bootstrap_android(self):
|
||||||
action='store_true',
|
|
||||||
help='Run SDK component install and emulator image creation again')
|
|
||||||
def bootstrap_android(self, update=False):
|
|
||||||
|
|
||||||
ndk = "android-ndk-r12b-{system}-{arch}"
|
ndk = "android-ndk-r12b-{system}-{arch}"
|
||||||
tools = "sdk-tools-{system}-4333796"
|
tools = "sdk-tools-{system}-4333796"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue