From ae8012a5804bc4787030f22da28c9c5f99f921c8 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 31 Dec 2024 01:12:23 +0100 Subject: [PATCH] CI: add non-feature (svg, libsfdo, xwayland) build for arch --- .github/workflows/build.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fe9bff6..81a1da04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: pacman -Syu --noconfirm pacman -S --noconfirm git meson clang wlroots libdrm libinput \ wayland-protocols cairo pango libxml2 xorg-xwayland librsvg \ - libdisplay-info gdb ttf-dejavu foot + libdisplay-info gdb ttf-dejavu foot libsfdo - name: Install Debian Testing dependencies if: matrix.name == 'Debian' @@ -181,8 +181,19 @@ jobs: meson compile -C build-clang-release ' | $TARGET - # Runtime tests, these run on Arch and Void only (the later due to libmusl being used) + # Non-feature build, run on Arch only + - name: Build with gcc - no-feature test + if: matrix.name == 'Arch' + run: | + echo ' + cd "$GITHUB_WORKSPACE" + export CC=gcc + meson setup build-gcc-no-feature -Dxwayland=disabled \ + -Dicon=disabled -Dsvg=disabled --werror + meson compile -C build-gcc-no-feature + ' | $TARGET + # Runtime tests, these run on Arch and Void only (the later due to libmusl being used) - name: Build with gcc - runtime test if: matrix.name == 'Arch' run: |