From a8f100ac2812ec580184c2c859caa6e487946407 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 3 Aug 2023 18:35:05 +0530 Subject: [PATCH] feat(actions): cross platform appimg build --- .github/workflows/appimage.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appimage.yaml b/.github/workflows/appimage.yaml index 2dd3025..dbc73ad 100644 --- a/.github/workflows/appimage.yaml +++ b/.github/workflows/appimage.yaml @@ -7,6 +7,10 @@ on: jobs: build: + strategy: + matrix: + arch: ["x86_64", "aarch64"] + name: Build the AppImage runs-on: ubuntu-latest @@ -23,7 +27,12 @@ jobs: run: cd packages/appimage && export LUNE_VERSION=0.7.5 - name: Build AppImage - run: ./pkg2appimage/pkg2appimage lune.yml && mv ./lune/lune-$(uname -m).AppImage ./lune-$LUNE_VERSION-$(uname -m).AppImage + uses: lalten/run-on-arch-action@amd64-support + id: buildimg + with: + arch: ${{ matrix.arch }} + distro: ubuntu_latest + run: ./pkg2appimage/pkg2appimage lune.yml && mv ./lune/lune-$(uname -m).AppImage ./lune-$LUNE_VERSION-$(uname -m).AppImage