Updated the Debian GitHub Actions workflow to use Debian packaging tooling/dependencies (including dpkg-dev, debhelper, fakeroot, iso-codes, and liblua5.3-dev) so the job is set up for Debian package builds from debian/.

Replaced the previous direct Meson configure/build/test/install steps with a Debian package build step using dpkg-buildpackage -us -uc -b.
Added artifact upload for generated Debian package outputs (*.deb, *.changes, *.buildinfo).
This commit is contained in:
2026-02-16 03:26:00 -07:00
parent a9d8ffe3fe
commit 2d61db57ef

View File

@@ -13,48 +13,33 @@ jobs:
image: debian:bookworm
steps:
- name: Install base tooling (git + deps)
- name: Install packaging tooling and build dependencies
run: |
set -eux
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y --no-install-recommends \
git ca-certificates \
build-essential pkg-config meson ninja-build cmake \
gettext \
build-essential dpkg-dev debhelper fakeroot \
pkg-config meson ninja-build \
gettext iso-codes \
libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk-3-dev libayatana-appindicator3-dev \
libluajit-5.1-dev libpci-dev libperl-dev libssl-dev \
python3-dev python3-cffi mono-devel desktop-file-utils
liblua5.3-dev libpci-dev libperl-dev libssl-dev \
python3-dev python3-cffi desktop-file-utils
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure
- name: Build Debian packages
run: |
set -eux
rm -rf build
meson setup build \
-Dgtk3=true \
-Dtext-frontend=true \
-Dauto_features=enabled
dpkg-buildpackage -us -uc -b
- name: Show Meson options (on failure)
if: failure()
run: |
set -eux
meson configure build || true
- name: Build
run: |
set -eux
ninja -C build
- name: Test
run: |
set -eux
ninja -C build test
- name: Install
run: |
set -eux
ninja -C build install
- name: Upload Debian artifacts
uses: actions/upload-artifact@v4
with:
name: zoitechat-debian-packages
path: |
../*.deb
../*.changes
../*.buildinfo