ci: GNU-target Rust on Windows, pipewire dev packages on Linux

- Windows: install MSYS2's own Rust (x86_64-pc-windows-gnu host); the
  rustup MSVC toolchain is not on the msys2 shell's PATH and the MSVC
  linker rejects the Unix-style link args the build scripts emit
- Linux: libpipewire-0.3-dev + libspa-0.2-dev for libspa-sys (gpui's
  Linux screen-capture/audio stack)
This commit is contained in:
2026-08-21 00:12:55 +08:00
parent 3c31c67f99
commit a1e4f47300
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -39,6 +39,7 @@ jobs:
# Oak_Icon.svg).
sudo apt-get install -y \
cmake \
libpipewire-0.3-dev libspa-0.2-dev \
librsvg2-bin \
libgl1-mesa-dev libgl1-mesa-dri mesa-vulkan-drivers \
libvulkan-dev libxkbcommon-dev
@@ -221,9 +222,13 @@ jobs:
with:
msystem: UCRT64
update: true
# MSYS2's own Rust targets x86_64-pc-windows-gnu by default —
# the Windows build is GNU-target (the MSVC linker rejects the
# Unix-style link args the build scripts emit).
install: >-
git
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-rust
- name: Install system dependencies
run: |
+5
View File
@@ -53,6 +53,7 @@ jobs:
# X11, software Mesa Vulkan (lavapipe) and xvfb.
sudo apt-get install -y \
cmake \
libpipewire-0.3-dev libspa-0.2-dev \
libgl1-mesa-dev libgl1-mesa-dri mesa-vulkan-drivers \
libvulkan-dev libxkbcommon-dev xvfb
@@ -68,9 +69,13 @@ jobs:
with:
msystem: UCRT64
update: true
# MSYS2's own Rust targets x86_64-pc-windows-gnu by default —
# the Windows build is GNU-target (the MSVC linker rejects the
# Unix-style link args the build scripts emit).
install: >-
git
mingw-w64-ucrt-x86_64-gcc
mingw-w64-ucrt-x86_64-rust
- name: Install system dependencies (Windows)
if: runner.os == 'Windows'