Skip to content

apps: Adds CPU, memory, and network usage graph dock-apps. #293

apps: Adds CPU, memory, and network usage graph dock-apps.

apps: Adds CPU, memory, and network usage graph dock-apps. #293

name: Build for Debian Trixie, with libwlroots-0.18-dev package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_matrix:
strategy:
matrix:
compiler: [ "gcc", "clang" ]
runs-on: ubuntu-latest
container:
image: debian:trixie
steps:
- name: Install package dependencies.
run: |
apt-get update
apt-get install -y \
bison \
clang \
cmake \
desktop-file-utils \
flex \
gcc \
git \
iwyu \
libbacktrace-dev \
libcairo2-dev \
libncurses-dev \
libwlroots-0.18-dev \
libxdg-basedir-dev \
pkg-config \
plantuml \
xwayland
- name: Checkout code, including git submodules.
uses: actions/checkout@v3
with:
# Not using 'recursive' prevents fetching extra submodules below
# dependencies/. These are only needed to build wlroots from source.
submodules: true
- name: Configure wlmaker through CMake.
run: |
export CC="${{ matrix.compiler }}"
cmake -B build/ -Dconfig_WERROR=ON -DIWYU_MODE=FAIL
- name: Build wlmaker.
run: |
export CC="${{ matrix.compiler }}"
cmake --build build/
- name: Run all tests.
run: |
ctest --test-dir build/ --build-run-dir build/ -V