ci/linux: provide PyInstaller package for aarch64
This commit is contained in:
1 parent
d209e0e9e0
commit
eab58cd5f2
1 file changed
+15
-6
@@ -103,8 +103,16 @@ jobs:
|
|||||||
path: Twitch.Drops.Miner.Windows.zip
|
path: Twitch.Drops.Miner.Windows.zip
|
||||||
|
|
||||||
linux-pyinstaller:
|
linux-pyinstaller:
|
||||||
name: Linux (PyInstaller)
|
name: Linux (PyInstaller) (${{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
|
||||||
|
|
||||||
@@ -146,7 +154,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p /tmp/libXft
|
mkdir -p /tmp/libXft
|
||||||
cd /tmp/libXft
|
cd /tmp/libXft
|
||||||
curl -L https://xorg.freedesktop.org/releases/individual/lib/libXft-2.3.8.tar.xz -o libXft.tar.xz
|
curl -fL https://xorg.freedesktop.org/releases/individual/lib/libXft-2.3.9.tar.xz -o libXft.tar.xz
|
||||||
|
sha256sum libXft.tar.xz
|
||||||
tar xvf libXft.tar.xz
|
tar xvf libXft.tar.xz
|
||||||
cd libXft-*
|
cd libXft-*
|
||||||
./configure --prefix=/tmp/libXft --sysconfdir=/etc --disable-static
|
./configure --prefix=/tmp/libXft --sysconfdir=/etc --disable-static
|
||||||
@@ -166,14 +175,14 @@ jobs:
|
|||||||
folder='Twitch Drops Miner'
|
folder='Twitch Drops Miner'
|
||||||
mkdir "${folder}"
|
mkdir "${folder}"
|
||||||
cp manual.txt dist/* "${folder}"
|
cp manual.txt dist/* "${folder}"
|
||||||
7z a Twitch.Drops.Miner.Linux.PyInstaller.zip "${folder}"
|
7z a 'Twitch.Drops.Miner.Linux.PyInstaller-${{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.PyInstaller
|
name: Twitch.Drops.Miner.Linux.PyInstaller-${{matrix.arch}}
|
||||||
path: Twitch.Drops.Miner.Linux.PyInstaller.zip
|
path: Twitch.Drops.Miner.Linux.PyInstaller-${{matrix.arch}}.zip
|
||||||
|
|
||||||
linux-appimage:
|
linux-appimage:
|
||||||
name: Linux (AppImage) (${{matrix.arch}})
|
name: Linux (AppImage) (${{matrix.arch}})
|
||||||
|
|||||||
Reference in new issue
Block a user