fix: repair Slint dependency setup

This commit is contained in:
dijunkun
2026-07-21 17:44:27 +08:00
parent 59f77c2820
commit c400e75d32
4 changed files with 10 additions and 22 deletions
+9 -1
View File
@@ -99,12 +99,20 @@ jobs:
with:
submodules: recursive
- name: Install Linux build dependencies
run: apt install -y curl libxft-dev
- name: Install Rust
shell: bash
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.92.0
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
- name: Build CrossDesk
env:
CUDA_PATH: /usr/local/cuda
XMAKE_GLOBALDIR: /data
run: |
apt install -y libxft-dev
xmake f --CROSSDESK_VERSION=${LEGAL_VERSION} --USE_CUDA=true --root -y
xmake b -vy --root crossdesk