From 78911a9641b31c9a642baabf97735113a009bef6 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 7 Jul 2023 17:32:11 +0700 Subject: [PATCH] ci: Build lib + example with accesskit feature. This checks that the accesskit feature compiles the library and the `accesskit` example. This only runs the tries to build it on macOS and Windows as `glazier` doesn't yet support `accesskit` elsewhere. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68a17981..eb472a50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,10 @@ jobs: - name: cargo test glazier run: cargo test --no-default-features --features=x11 + - name: cargo build accesskit example + run: cargo build --features accesskit --example accesskit + if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows') + # we test the wayland backend as a separate job test-stable-wayland: runs-on: ubuntu-latest