mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
gitlab-ci: port ubuntu_bionic_pip to Ubuntu/jammy
This job is here to test using fdroidserver with only depends from pip and sdkmanager (e.g. not apt-get). Production is now on bullseye #1038
This commit is contained in:
parent
eafa7f5e70
commit
2bde06a60f
1 changed files with 7 additions and 9 deletions
|
|
@ -126,16 +126,16 @@ ubuntu_lts_ppa:
|
||||||
- ./run-tests
|
- ./run-tests
|
||||||
|
|
||||||
|
|
||||||
# Test using Ubuntu/bionic LTS (supported til April, 2023) with all depends
|
# Test using Ubuntu/jammy LTS (supported til April, 2027) with depends
|
||||||
# from pypi. The venv is used to isolate the dist tarball generation
|
# from pypi and sdkmanager. The venv is used to isolate the dist
|
||||||
# environment from the clean install environment.
|
# tarball generation environment from the clean install environment.
|
||||||
ubuntu_bionic_pip:
|
ubuntu_jammy_pip:
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
script:
|
script:
|
||||||
- apt-get install git default-jdk-headless python3-pip python3-venv rsync zipalign libarchive13 dexdump
|
- apt-get install git default-jdk-headless python3-pip python3-venv rsync
|
||||||
- rm -rf env
|
- rm -rf env
|
||||||
- pyvenv env
|
- python3 -m venv env
|
||||||
- . env/bin/activate
|
- . env/bin/activate
|
||||||
- $pip install --upgrade babel pip setuptools
|
- $pip install --upgrade babel pip setuptools
|
||||||
# setup venv to act as release build machine
|
# setup venv to act as release build machine
|
||||||
|
|
@ -145,8 +145,6 @@ ubuntu_bionic_pip:
|
||||||
- deactivate
|
- deactivate
|
||||||
- tar tzf dist/fdroidserver-*.tar.gz
|
- tar tzf dist/fdroidserver-*.tar.gz
|
||||||
# back to bare machine to act as user's install machine
|
# back to bare machine to act as user's install machine
|
||||||
- $pip install --upgrade pip setuptools wheel # make this go away: "error: invalid command 'bdist_wheel'"
|
|
||||||
|
|
||||||
- export ANDROID_HOME=/opt/android-sdk
|
- export ANDROID_HOME=/opt/android-sdk
|
||||||
- $pip install sdkmanager
|
- $pip install sdkmanager
|
||||||
- sdkmanager 'build-tools;30.0.0'
|
- sdkmanager 'build-tools;30.0.0'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue