From b83771326290e39f5a1d51cf44309ae34ac5330c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Thu, 13 Jul 2023 02:37:32 +0900 Subject: [PATCH] .github/workflows: add wayland test --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81caaa92a..3ef7d6ba7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,6 +84,12 @@ jobs: env GOOS=windows GOARCH=arm go build -v ./... env GOOS=windows GOARCH=arm64 go build -v ./... + - name: go build (Wayland) + if: runner.os == 'Linux' + run: | + sudo apt-get install libwayland-dev libxkbcommon-dev + go build -v -tags=wayland ./... + - name: go build (macOS) if: runner.os == 'macOS' run: |