Add debian package build workflow
This commit is contained in:
parent
9e4704d2ad
commit
6fe53addb3
1 changed files with 21 additions and 0 deletions
|
@ -39,6 +39,27 @@ jobs:
|
||||||
overwrite: true
|
overwrite: true
|
||||||
include-hidden-files: true
|
include-hidden-files: true
|
||||||
if-no-files-found: error
|
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:
|
build-appimage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: get-source-code
|
needs: get-source-code
|
||||||
|
|
Loading…
Reference in a new issue