Test Android x86 on CI

This commit is contained in:
Simon Sapin 2018-07-12 14:45:36 +02:00
parent 8dc2457931
commit abb2ac6d20
2 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,12 @@
#!/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
cd $(dirname ${0})/../..
yes | ./mach bootstrap-android

View file

@ -160,7 +160,13 @@ android:
- python ./etc/ci/check_dynamic_symbols.py
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:
- ./mach clean-nightlies --keep 3 --force