Fix github appimage build

This commit is contained in:
Rebecca Breu 2024-04-25 19:12:41 +02:00
parent 1119004fe1
commit 3151dc4993
4 changed files with 9 additions and 8 deletions

View file

@ -8,19 +8,18 @@ jobs:
name: build_appimage
runs-on: 'ubuntu-20.04'
strategy:
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Build appimage
run: |
bash tools/build_appimage --version=${{ github.ref_name }} --jsonfile=tools/linux_libs.json
python3 tools/build_appimage.py --version=${{ github.ref_name }} --jsonfile=tools/linux_libs.json
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: BeeRef*.appimage
retention-days: 5

View file

@ -7,12 +7,12 @@ BeeRef is written in Python and PyQt6.
Developing
----------
Optional step: Use pyenv to create a virtual environment:
Optional step: Use pyenv to create a virtual environment::
pyenv install -v 3.11
pyenv virtualenv 3.11 beeref
Once the vitrual environment is set up, you can enter it with:
Once the vitrual environment is set up, you can enter it with::
pyenv activate beeref

View file

@ -49,7 +49,9 @@ args = parser.parse_args()
BEEVERSION = args.version.removeprefix('v')
APPIMAGE = 'python3.11.8-cp311-cp311-manylinux_2_28_x86_64.AppImage'
APPIMAGE = 'python3.11.9-cp311-cp311-manylinux2014_x86_64.AppImage'
# ^ Siehe:
# https://python-appimage.readthedocs.io/en/latest/#alternative-site-packages-location
PYVER = '3.11'
logger = logging.getLogger(__name__)
logging.basicConfig(level=getattr(logging, args.loglevel))

View file

@ -138,7 +138,7 @@
"libfribidi0",
"libgcc-s1",
"libgcrypt20",
"libgdk-pixbuf-2.0-0",
"libgdk-pixbuf2.0-0",
"libglib2.0-0",
"libglvnd0",
"libglx0",