Install Windows tooling in production job
CI / build-and-test (pull_request) Successful in 3m10s
CI / production-build (pull_request) Failing after 8m23s

This commit is contained in:
2026-09-19 22:15:16 +02:00
parent b5cc5428d2
commit 4d474227cc
+6 -3
View File
@@ -21,8 +21,6 @@ jobs:
sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
"$HOME/.cargo/bin/rustup" toolchain install nightly-2026-09-14 --profile minimal
"$HOME/.cargo/bin/rustup" target add x86_64-pc-windows-msvc --toolchain nightly-2026-09-14
"$HOME/.cargo/bin/cargo" install cargo-xwin --locked
- name: Cache Rust dependencies and build artifacts
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
@@ -43,7 +41,6 @@ jobs:
libx11-dev \
libxkbcommon-dev \
libxkbcommon-x11-0 \
lld \
mesa-vulkan-drivers \
mold \
pkg-config
@@ -68,6 +65,11 @@ jobs:
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
"$HOME/.cargo/bin/rustup" toolchain install nightly-2026-09-14 --profile minimal
- name: Install Windows build tooling
run: |
"$HOME/.cargo/bin/rustup" target add x86_64-pc-windows-msvc --toolchain nightly-2026-09-14
"$HOME/.cargo/bin/cargo" install cargo-xwin --locked
- name: Cache production Rust dependencies and build artifacts
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
@@ -87,6 +89,7 @@ jobs:
libx11-dev \
libxkbcommon-dev \
libxkbcommon-x11-0 \
lld \
mesa-vulkan-drivers \
mold \
pkg-config