3 on: [push, pull_request]
5 # Set permissions at the job level.
15 compiler: [clang, gcc]
17 - uses: actions/checkout@v2
19 persist-credentials: false
20 - uses: actions/setup-python@v2
23 - name: Install dependencies
25 python -m pip install --upgrade meson
28 doxygen libxcb-xkb-dev valgrind ninja-build \
29 libwayland-dev wayland-protocols bison graphviz
34 CC: ${{ matrix.compiler }}
37 meson compile -C build
40 meson test -C build --print-errorlogs --no-suite python-tests
41 - name: Test with valgrind
43 meson test -C build --print-errorlogs --setup=valgrind --no-suite python-tests