tests: debian: apksigner is required for the tests to run now

We need to use a shell wrapper for apksigner though because docker and
binfmt don't play well together
This commit is contained in:
Marcus Hoffmann 2020-09-10 17:12:16 +02:00
parent 89f63b3e1c
commit 2367461465
1 changed files with 5 additions and 0 deletions

View File

@ -66,12 +66,17 @@ debian_testing:
- apt-get install
aapt
androguard
apksigner
fdroidserver
git
gnupg
python3-defusedxml
python3-setuptools
zipalign
# Debian has apksigner depend on binfmt support which isn't very docker friendly
# We create a shell wrapper instead
- echo -e '#!/bin/sh\njava -jar /usr/lib/android-sdk/build-tools/debian/apksigner.jar "$@"' > /usr/local/bin/apksigner
- chmod +x /usr/local/bin/apksigner
- python3 -c 'import fdroidserver'
- python3 -c 'import androguard'
- cd tests