Add wayland and no-x11-wayland build to CI

This commit is contained in:
elkowar 2021-05-04 09:30:00 +02:00
parent 488841d3e8
commit 2f433878c2
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libgtk-3-dev
run: sudo apt-get update && sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev
- name: Set up
uses: actions-rs/toolchain@v1
with:
@ -23,6 +23,10 @@ jobs:
components: rustfmt
- uses: actions/checkout@v2
- name: Build
run: cargo build
- name: Build x11
run: cargo --no-default-features --features=x11 check
- name: Build wayland
run: cargo --no-default-features --features=wayland check
- name: Build no-x11-wayland
run: cargo --no-default-features --features=no-x11-wayland check