You've already forked linuxdeploy-plugin-appimage
mirror of
https://github.com/encounter/linuxdeploy-plugin-appimage.git
synced 2026-03-30 11:19:00 -07:00
Test GitHub Actions aarch64
This commit is contained in:
@@ -48,11 +48,42 @@ jobs:
|
||||
name: AppImage i386
|
||||
path: linuxdeploy-plugin-appimage*.AppImage*
|
||||
|
||||
appimage-aarch64:
|
||||
name: AppImage aarch64
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.1.0
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build AppImage
|
||||
uses: uraimo/run-on-arch-action@v2.0.5
|
||||
with:
|
||||
arch: aarch64
|
||||
distro: ubuntu18.04
|
||||
githubToken: ${{ github.token }}
|
||||
dockerRunArgs: |
|
||||
--volume "${PWD}:/build"
|
||||
install: |
|
||||
apt update
|
||||
apt install -y build-essential wget
|
||||
wget -q -O cmake-install.sh https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-Linux-$(uname -m).sh
|
||||
sh cmake-install.sh --prefix=/usr --skip-license --exclude-subdir
|
||||
rm cmake-install.sh
|
||||
run: |
|
||||
cd /build
|
||||
ARCH=$(uname -m) ci/build-appimage.sh
|
||||
- name: Archive artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: AppImage aarch64
|
||||
path: linuxdeploy-plugin-appimage*.AppImage*
|
||||
|
||||
upload:
|
||||
name: Create release and upload artifacts
|
||||
needs:
|
||||
- appimage-x86_64
|
||||
- appimage-i386
|
||||
- appimage-aarch64
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
|
||||
@@ -48,7 +48,7 @@ make install DESTDIR=AppDir
|
||||
AIK_ARCH="$ARCH"
|
||||
[ "$ARCH" == "i386" ] && AIK_ARCH="i686"
|
||||
|
||||
wget https://github.com/TheAssassin/linuxdeploy/releases/download/continuous/linuxdeploy-"$ARCH".AppImage
|
||||
wget https://github.com/encounter/linuxdeploy/releases/download/continuous/linuxdeploy-"$ARCH".AppImage
|
||||
chmod +x linuxdeploy-"$ARCH".AppImage
|
||||
|
||||
# bundle appimagetool
|
||||
|
||||
Reference in New Issue
Block a user