ci(windows-drivers): point driver-build LIBCLANG_PATH at LLVM 21.1.2

Use the provisioned C:\\llvm-21 libclang for the driver build so wdk-sys bindgen
builds clean (the runner default LLVM is a ToT/22-dev with the E0080 layout-test
overflow bug). Queues behind the in-progress LLVM provision on the single runner.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-24 09:08:04 +00:00
parent dc2dc1ddcc
commit f5f1194e37
+3
View File
@@ -119,6 +119,9 @@ jobs:
env: env:
# wdk-build otherwise picks 10.0.28000.0 (no km/crt) and bindgen fails — pin the WDK SDK version. # wdk-build otherwise picks 10.0.28000.0 (no km/crt) and bindgen fails — pin the WDK SDK version.
Version_Number: '10.0.26100.0' Version_Number: '10.0.26100.0'
# wdk-sys bindgen layout tests overflow (E0080) on the runner's default LLVM (ToT/22-dev); point at
# the pinned LLVM 21.1.2 that windows-drivers-rs builds clean against (provisioned to C:\llvm-21).
LIBCLANG_PATH: 'C:\llvm-21\bin'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: cargo build wdk-probe (windows-drivers-rs) - name: cargo build wdk-probe (windows-drivers-rs)