From 76cd8d0ca2364a75786dafaa448342e24ff06acb Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Mon, 6 May 2024 07:41:03 +0200 Subject: [PATCH] CI: build and test on Linux --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e176f376..36fd37c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -53,3 +53,26 @@ jobs: with: name: install path: _dest/ + + build-linux: + runs-on: ubuntu-latest + container: debian:bookworm + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install deps + run: | + apt update + apt -y install --no-install-recommends \ + git pkg-config meson gcc libtool \ + libgpgme-dev libarchive-dev libcurl4-openssl-dev libssl-dev curl \ + gettext python3 python3-setuptools dash gawk ca-certificates \ + fakeroot fakechroot + + - name: Build + run: | + meson setup --buildtype=debug build + ninja -C build + fakechroot meson test -C build