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'
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"
' | $TARGET
- name: Build with clang - runtime test
- if: matrix.name == 'Debian'
+ if: matrix.name == 'Arch'
run: |
echo '
cd "$GITHUB_WORKSPACE"
' | $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
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