diff --git a/.forgejo/workflows/compile.yaml b/.forgejo/workflows/compile.yaml index 0a63239..e19fedf 100644 --- a/.forgejo/workflows/compile.yaml +++ b/.forgejo/workflows/compile.yaml @@ -39,6 +39,27 @@ jobs: overwrite: true include-hidden-files: true if-no-files-found: error + build-deb: + runs-on: ubuntu-latest + needs: get-source-code + - name: Download and cache system dependencies + uses: https://complecwaft.com/catmeow/cache-apt-pkgs-action@latest + with: + packages: debhelper-compat devscripts cmake git python3 libprotobuf-dev protobuf-compiler libsoundtouch-dev libsdl2-dev libsdl2-image-dev qt6-base-dev liburiparser-dev libexpat1-dev libsdbus-c++-dev libsdbus-c++-bin build-essential zstd wget git-buildpackage + - name: Download repository code + uses: actions/download-artifact@v3 + with: + name: source_archive + path: . + - name: Extract repository code + run: mkdir -p looper && tar -xf source.tar.zst -C looper + - name: Build package + run: cd looper && gbp build-package + - name: Upload package artifacts + uses: actions/upload-artifact@v3 + with: + name: debian-packages + path: ./looper*.deb build-appimage: runs-on: ubuntu-latest needs: get-source-code