mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Fix github appimage build
This commit is contained in:
parent
1119004fe1
commit
3151dc4993
4 changed files with 9 additions and 8 deletions
7
.github/workflows/build_appimage.yml
vendored
7
.github/workflows/build_appimage.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@
|
|||
"libfribidi0",
|
||||
"libgcc-s1",
|
||||
"libgcrypt20",
|
||||
"libgdk-pixbuf-2.0-0",
|
||||
"libgdk-pixbuf2.0-0",
|
||||
"libglib2.0-0",
|
||||
"libglvnd0",
|
||||
"libglx0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue