mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
gitlab-ci: modernize ubuntu_lts_ppa job using updates to PPA
The PPA now provides apksigner that does not need binfmt, and defusedxml is a hard Depends:.
This commit is contained in:
parent
b5485ded64
commit
20c299358d
@ -89,8 +89,6 @@ debian_testing:
|
|||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
# Test using latest LTS set up with the PPA, including Recommends.
|
# Test using latest LTS set up with the PPA, including Recommends.
|
||||||
# focal's apksigner, which comes from Recommends:, requires binfmt
|
|
||||||
# support in the kernel.
|
|
||||||
ubuntu_lts_ppa:
|
ubuntu_lts_ppa:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
@ -104,10 +102,7 @@ ubuntu_lts_ppa:
|
|||||||
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
|
- echo "deb http://ppa.launchpad.net/fdroid/fdroidserver/ubuntu $RELEASE main" >> /etc/apt/sources.list
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get dist-upgrade
|
- apt-get dist-upgrade
|
||||||
- mount | grep binfmt_misc || mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
|
- apt-get install --install-recommends fdroidserver git python3-setuptools
|
||||||
- apt-get install --install-recommends binfmt-support fdroidserver git python3-defusedxml python3-setuptools
|
|
||||||
- ls -l /proc/sys/fs/binfmt_misc || true
|
|
||||||
- test -e /proc/sys/fs/binfmt_misc/jarwrapper || apt -qy purge apksigner
|
|
||||||
- cd tests
|
- cd tests
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user