mirror of
https://github.com/ciromattia/kcc
synced 2025-12-22 06:01:49 +00:00
new AppImage (#483)
This commit is contained in:
11
.github/workflows/package-linux.yml
vendored
11
.github/workflows/package-linux.yml
vendored
@@ -7,7 +7,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
|
|
||||||
# Don't trigger if it's just a documentation update
|
# Don't trigger if it's just a documentation update
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
@@ -23,7 +23,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
@@ -34,9 +34,9 @@ jobs:
|
|||||||
- name: Install python dependencies
|
- name: Install python dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libpng-dev libjpeg-dev p7zip-full python3-pyqt5 squashfs-tools
|
sudo apt-get install -y libpng-dev libjpeg-dev p7zip-full python3-pyqt5 python3-pip squashfs-tools libfuse2
|
||||||
python -m pip install --upgrade pip setuptools wheel pyinstaller
|
python -m pip install --upgrade pip setuptools wheel certifi pyinstaller PyQt6 --no-binary pyinstaller
|
||||||
pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
- name: build binary
|
- name: build binary
|
||||||
run: |
|
run: |
|
||||||
python setup.py build_binary
|
python setup.py build_binary
|
||||||
@@ -58,7 +58,6 @@ jobs:
|
|||||||
appimage-builder --recipe AppImageBuilder.yml --skip-test
|
appimage-builder --recipe AppImageBuilder.yml --skip-test
|
||||||
env:
|
env:
|
||||||
UPDATE_INFO: gh-releases-zsync|ciromattia|kcc|latest|*x86_64.AppImage.zsync
|
UPDATE_INFO: gh-releases-zsync|ciromattia|kcc|latest|*x86_64.AppImage.zsync
|
||||||
|
|
||||||
- name: upload artifact
|
- name: upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -19,24 +19,21 @@ AppDir:
|
|||||||
- amd64
|
- amd64
|
||||||
allow_unauthenticated: true
|
allow_unauthenticated: true
|
||||||
sources:
|
sources:
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy main restricted
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy universe
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates universe
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates universe
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal-updates multiverse
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy-updates multiverse
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted
|
- sourceline: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted
|
||||||
universe multiverse
|
universe multiverse
|
||||||
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security main restricted
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
|
||||||
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security universe
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
|
||||||
- sourceline: deb http://security.ubuntu.com/ubuntu focal-security multiverse
|
- sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
|
||||||
include:
|
include:
|
||||||
- zlib1g:amd64
|
- libc6:amd64
|
||||||
files:
|
files:
|
||||||
include:
|
include: []
|
||||||
- /lib/x86_64-linux-gnu/libGLX.so.0
|
|
||||||
- /lib/x86_64-linux-gnu/libGLdispatch.so.0
|
|
||||||
- /usr/lib/locale/locale-archive
|
|
||||||
exclude:
|
exclude:
|
||||||
- usr/share/man
|
- usr/share/man
|
||||||
- usr/share/doc/*/README.*
|
- usr/share/doc/*/README.*
|
||||||
|
|||||||
Reference in New Issue
Block a user