Update protocols #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Run tests' | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: >- | |
sudo apt update && | |
sudo apt install | |
python3 python3-pytest mypy | |
libwayland-dev wayland-protocols | |
gdb meson ninja-build | |
debhelper quilt libexpat1-dev libffi-dev libxml2-dev doxygen graphviz xmlto xsltproc docbook-xsl | |
- name: Get debug libwayland | |
run: >- | |
cd resources && | |
git clone https://gitlab.freedesktop.org/wayland/wayland.git && | |
cd wayland && | |
git checkout "$(apt search '^libwayland-client0$' | grep -Po '\d+\.\d+\.\d+')" && | |
meson --buildtype=debug build && | |
ninja -C build | |
- name: Run tests | |
run: pytest-3 | |
timeout-minutes: 5 |