Skip to content

Commit

Permalink
Fix github appimage build
Browse files Browse the repository at this point in the history
  • Loading branch information
rbreu committed Apr 28, 2024
1 parent 1119004 commit 3151dc4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build_appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion tools/build_appimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@


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))
Expand Down
2 changes: 1 addition & 1 deletion tools/linux_libs.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"libfribidi0",
"libgcc-s1",
"libgcrypt20",
"libgdk-pixbuf-2.0-0",
"libgdk-pixbuf2.0-0",
"libglib2.0-0",
"libglvnd0",
"libglx0",
Expand Down

0 comments on commit 3151dc4

Please sign in to comment.