From 789110208f44d12421f389eec184a32a68cedeb5 Mon Sep 17 00:00:00 2001 From: Joel Schumacher Date: Sun, 15 Mar 2020 16:18:37 +0100 Subject: [PATCH] Add GitHub action steps to build AppImage --- .github/workflows/main.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7ea9fc84..b8845af80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ on: [push, pull_request] jobs: linux-os: - runs-on: ubuntu-latest + runs-on: ubuntu-16.04 steps: - name: Update APT run: sudo apt-get update @@ -20,6 +20,26 @@ jobs: run: mkdir build && cd build && ../configure - name: Build run: cd build && make -j2 + - name: Prepare appimagetool + run: | + cd build && + wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool && + chmod +x appimagetool && + sudo apt install -y appstream + - name: Clone love-appimages + uses: actions/checkout@v2 + with: + path: build/love-appimages + repository: pfirsich/love-appimages + - name: Build AppImage + run: | + cd build && + python3 love-appimages/build.py .. AppDir --builddir build --appimage love.AppImage + - name: Artifact + uses: actions/upload-artifact@v2-preview + with: + name: love.AppImage + path: build/love.AppImage windows-os: runs-on: windows-latest strategy: