From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Tue, 26 Nov 2024 05:02:29 +0000 (+0100) Subject: CI: switch runtime tests to Arch to reduce total runtime X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b0fb81c77b1bab26c1ea46412195f56930b13c08;p=proto%2Flabwc.git CI: switch runtime tests to Arch to reduce total runtime --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cc66e3e..aaad8864 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 + libdisplay-info gdb ttf-dejavu - name: Install Debian Testing dependencies if: matrix.name == 'Debian' @@ -178,10 +178,10 @@ jobs: meson compile -C build-clang-release ' | $TARGET - # Runtime tests, these run on Debian and Void only (the later due to libmusl being used) + # 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 == 'Debian' + if: matrix.name == 'Arch' run: | echo ' cd "$GITHUB_WORKSPACE" @@ -192,7 +192,7 @@ jobs: ' | $TARGET - name: Build with clang - runtime test - if: matrix.name == 'Debian' + if: matrix.name == 'Arch' run: | echo ' cd "$GITHUB_WORKSPACE" @@ -203,23 +203,25 @@ jobs: ' | $TARGET - name: Build with gcc - runtime leak test - if: matrix.name == 'Debian' + if: matrix.name == 'Arch' run: | echo ' cd "$GITHUB_WORKSPACE" export CC=gcc - meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined --werror + meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ + --werror --force-fallback-for=wlroots meson compile -C build-gcc-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak ' | $TARGET - name: Build with clang - runtime leak test - if: matrix.name == 'Debian' + if: matrix.name == 'Arch' run: | echo ' cd "$GITHUB_WORKSPACE" export CC=clang - meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined --werror + meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \ + --werror --force-fallback-for=wlroots meson compile -C build-clang-leak LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak ' | $TARGET @@ -231,7 +233,7 @@ jobs: echo ' cd "$GITHUB_WORKSPACE" export CC=gcc - meson setup build-gcc-ci -Dxwayland=enabled --werror - meson compile -C build-gcc-ci - LABWC_RUNS=20 scripts/ci/smoke-test.sh build-gcc-ci + meson setup build-gcc-gdb -Dxwayland=enabled --werror + meson compile -C build-gcc-gdb + LABWC_RUNS=20 scripts/ci/smoke-test.sh build-gcc-gdb ' | $TARGET