🔧 Install Linux deps in drosync preview CI

This commit is contained in:
eust-w 2026-07-29 15:08:06 +08:00
parent fb34ba8e20
commit 5d55c3c48c

View File

@ -23,6 +23,15 @@ jobs:
- uses: dtolnay/rust-toolchain@1.89.0
with:
components: rustfmt
- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libayatana-appindicator3-dev \
libdbus-1-dev \
libgtk-3-dev \
libxdo-dev \
pkg-config
- run: python3 scripts/generate_drosync_contract.py --check
- run: cargo fmt --manifest-path tools/drosync/Cargo.toml --all -- --check
- run: cargo test --manifest-path tools/drosync/Cargo.toml --workspace
@ -36,7 +45,12 @@ jobs:
- name: Install native dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libayatana-appindicator3-dev libxdo-dev
sudo apt-get install -y \
libayatana-appindicator3-dev \
libdbus-1-dev \
libgtk-3-dev \
libxdo-dev \
pkg-config
- run: tools/drosync/packaging/build-preview.sh linux-x86_64
- uses: actions/upload-artifact@v4
with: