From 2f433878c2f5ebc863c677d4257a89e208189d1d Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Tue, 4 May 2021 09:30:00 +0200 Subject: [PATCH] Add wayland and no-x11-wayland build to CI --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ee4d4d..c36d37b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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