aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMike Aizatsky <maizatskyi@cloudflare.com>2026-11-20 10:19:04 -0800
committerGitHub <noreply@github.com>2026-11-20 10:19:04 -0800
commitd10fc880af2a5899d83a34afddea195b2ce8525c (patch)
tree0b33898b7489a80d13c1fe5c79b20d214e01a826 /.github/workflows
parent7d3db3760068ec6a5214a0c3509da398e71dc668 (diff)
downloadcapnproto-master.tar.gz
capnproto-master.zip
fix head windows builds (#2937)HEADlocal/capnprotomaster
* fix msvc-latest build * update bazel-windows build
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/quick-test.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/quick-test.yml b/.github/workflows/quick-test.yml
index c3a44b4f..6b527a90 100644
--- a/.github/workflows/quick-test.yml
+++ b/.github/workflows/quick-test.yml
@@ -194,6 +194,16 @@ jobs:
arch: -A x64
steps:
- uses: actions/checkout@v7
+ - name: Use Visual Studio's bundled LLVM
+ # The standalone LLVM preinstalled in C:\Program Files\LLVM can lag behind the minimum Clang
+ # version required by the MSVC STL, so point Bazel's clang-cl toolchain at the LLVM that
+ # ships with Visual Studio instead.
+ run: |
+ $vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -property installationPath
+ $llvm = "$vs\VC\Tools\Llvm\x64"
+ if (-not (Test-Path "$llvm\bin\clang-cl.exe")) { throw "clang-cl not found in $llvm" }
+ & "$llvm\bin\clang-cl.exe" --version
+ echo "BAZEL_LLVM=$llvm" >> $env:GITHUB_ENV
- name: test
run: |
cd c++ && bazel test --config=ci //...