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
|
||||
|
||||
linux-appimage:
|
||||
name: Linux (AppImage)
|
||||
runs-on: ubuntu-22.04
|
||||
name: Linux (AppImage) (${{matrix.arch}})
|
||||
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:
|
||||
- validate
|
||||
|
||||
@@ -207,7 +215,8 @@ jobs:
|
||||
|
||||
- name: Create AppImage
|
||||
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}}
|
||||
PYTHON_VERSION: ${{env.PYTHON_VERSION}}
|
||||
run: |
|
||||
@@ -218,14 +227,14 @@ jobs:
|
||||
folder='Twitch Drops Miner'
|
||||
mkdir "${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
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
if-no-files-found: error
|
||||
name: Twitch.Drops.Miner.Linux.AppImage
|
||||
path: Twitch.Drops.Miner.Linux.AppImage.zip
|
||||
name: Twitch.Drops.Miner.Linux.AppImage-${{matrix.arch}}
|
||||
path: Twitch.Drops.Miner.Linux.AppImage-${{matrix.arch}}.zip
|
||||
|
||||
update_releases_page:
|
||||
name: Upload builds to Releases
|
||||
|
||||
Reference in new issue
Block a user