ci/linux: provide AppImage package for aarch64
This commit is contained in:
1 parent
7116cbc759
commit
d209e0e9e0
2 files changed
+23
-10
No files matched your search
@@ -176,8 +176,16 @@ jobs:
|
|||||||
path: Twitch.Drops.Miner.Linux.PyInstaller.zip
|
path: Twitch.Drops.Miner.Linux.PyInstaller.zip
|
||||||
|
|
||||||
linux-appimage:
|
linux-appimage:
|
||||||
name: Linux (AppImage)
|
name: Linux (AppImage) (${{matrix.arch}})
|
||||||
runs-on: ubuntu-22.04
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- arch: x86_64
|
||||||
|
runner: ubuntu-22.04
|
||||||
|
- arch: aarch64
|
||||||
|
runner: ubuntu-22.04-arm
|
||||||
|
runs-on: ${{matrix.runner}}
|
||||||
needs:
|
needs:
|
||||||
- validate
|
- validate
|
||||||
|
|
||||||
@@ -207,7 +215,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Create AppImage
|
- name: Create AppImage
|
||||||
env:
|
env:
|
||||||
ARCH: x86_64
|
ARCH: ${{matrix.arch}}
|
||||||
|
ARCH_APT: ${{matrix.arch == 'x86_64' && 'amd64' || 'arm64'}}
|
||||||
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
||||||
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
||||||
run: |
|
run: |
|
||||||
@@ -218,14 +227,14 @@ jobs:
|
|||||||
folder='Twitch Drops Miner'
|
folder='Twitch Drops Miner'
|
||||||
mkdir "${folder}"
|
mkdir "${folder}"
|
||||||
cp *.AppImage manual.txt "${folder}"
|
cp *.AppImage manual.txt "${folder}"
|
||||||
7z a Twitch.Drops.Miner.Linux.AppImage.zip "${folder}"
|
7z a 'Twitch.Drops.Miner.Linux.AppImage-${{matrix.arch}}.zip' "${folder}"
|
||||||
|
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: Twitch.Drops.Miner.Linux.AppImage
|
name: Twitch.Drops.Miner.Linux.AppImage-${{matrix.arch}}
|
||||||
path: Twitch.Drops.Miner.Linux.AppImage.zip
|
path: Twitch.Drops.Miner.Linux.AppImage-${{matrix.arch}}.zip
|
||||||
|
|
||||||
update_releases_page:
|
update_releases_page:
|
||||||
name: Upload builds to Releases
|
name: Upload builds to Releases
|
||||||
|
|||||||
@@ -43,11 +43,15 @@ AppDir:
|
|||||||
exec_args: '${APPDIR}/usr/src/main.py $@'
|
exec_args: '${APPDIR}/usr/src/main.py $@'
|
||||||
|
|
||||||
apt:
|
apt:
|
||||||
arch: amd64
|
arch:
|
||||||
|
- '{{ARCH_APT}}'
|
||||||
sources:
|
sources:
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy main
|
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-updates main
|
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main
|
||||||
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy-security main
|
- sourceline: deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security main
|
||||||
|
- sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy main
|
||||||
|
- sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-updates main
|
||||||
|
- sourceline: deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ jammy-security main
|
||||||
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C
|
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
|||||||
Reference in new issue
Block a user