Build Wayland tray menu module for Linux client

This commit is contained in:
世界
2026-10-11 10:58:49 +08:00
parent 7054cac512
commit d630fa94c5
+20 -3
View File
@@ -1066,9 +1066,9 @@ jobs:
strategy:
matrix:
include:
- { desktop_arch: x64, go_arch: amd64 }
- { desktop_arch: arm64, go_arch: arm64 }
- { desktop_arch: armv7l, go_arch: arm, go_arm: "7" }
- { desktop_arch: x64, go_arch: amd64, rust_target: x86_64-unknown-linux-gnu }
- { desktop_arch: arm64, go_arch: arm64, rust_target: aarch64-unknown-linux-gnu }
- { desktop_arch: armv7l, go_arch: arm, go_arm: "7", rust_target: armv7-unknown-linux-gnueabihf }
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -1095,6 +1095,23 @@ jobs:
path: ~/go/pkg/mod
key: go-mod-desktop-linux-${{ hashFiles('go.sum') }}
restore-keys: go-mod-desktop-linux-
- name: Setup Rust
uses: dtolnay/rust-toolchain@1.88.0
with:
targets: ${{ matrix.rust_target }}
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: 0.16.0
- name: Cache Wayland menu module
uses: actions/cache@v4
with:
path: |
~/.cargo/git
~/.cargo/registry
clients/desktop/bin/wayland-menu-toolchain
key: wayland-menu-${{ matrix.rust_target }}-${{ hashFiles('clients/desktop/native/wayland-menu/Cargo.lock') }}
restore-keys: wayland-menu-${{ matrix.rust_target }}-
- name: Setup pnpm
uses: pnpm/action-setup@v4
with: