Add experimental wayland support #179
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: lint & test | |
on: | |
push: | |
branches: [ "develop" ] | |
env: | |
RUSTDOCFLAGS: "-D warnings" | |
RUSTFLAGS: "-D warnings" | |
jobs: | |
ubuntu: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: setup rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: install tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libgl1-mesa-dev libglu1-mesa-dev libgtk-3-bin libwayland-dev wayland-protocols libdbus-1-dev libxkbcommon-dev xdg-utils xvfb -y --no-install-recommends | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: check formatting | |
run: cargo fmt --check | |
- name: lint | |
run: cargo clippy | |
- name: lint (dynamic plugins) | |
run: cargo clippy --no-default-features | |
- name: check docs | |
run: cargo doc --no-deps | |
- name: test | |
run: cargo test --verbose | |
windows: | |
runs-on: windows-2022 | |
steps: | |
- name: setup rust cache | |
uses: Swatinem/rust-cache@v2 | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: check formatting | |
run: cargo fmt --check | |
- name: lint | |
run: cargo clippy | |
- name: lint (dynamic plugins) | |
run: cargo clippy --no-default-features | |
- name: check docs | |
run: cargo doc --no-deps | |
- name: test | |
run: cargo test --verbose |