mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 17:20:25 +02:00
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:
parent
89f63b3e1c
commit
2367461465
@ -66,12 +66,17 @@ debian_testing:
|
|||||||
- apt-get install
|
- apt-get install
|
||||||
aapt
|
aapt
|
||||||
androguard
|
androguard
|
||||||
|
apksigner
|
||||||
fdroidserver
|
fdroidserver
|
||||||
git
|
git
|
||||||
gnupg
|
gnupg
|
||||||
python3-defusedxml
|
python3-defusedxml
|
||||||
python3-setuptools
|
python3-setuptools
|
||||||
zipalign
|
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 fdroidserver'
|
||||||
- python3 -c 'import androguard'
|
- python3 -c 'import androguard'
|
||||||
- cd tests
|
- cd tests
|
||||||
|
Loading…
Reference in New Issue
Block a user