File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ build:macos \
1212 --macos_minimum_os=13.5 --host_macos_minimum_os=13.5
1313
1414build:windows \
15- --compiler= clang-cl \
16- --action_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
15+ --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows- clang-cl \
16+ --extra_execution_platforms=//:x64_windows-clang-cl
1717
1818build \
1919 --disk_cache=~/.bazel_cache \
Original file line number Diff line number Diff line change 7474 arch : arm64
7575 windows-display-name : ' 11 ARM'
7676 swift-version : 6.2.1
77+ env :
78+ CC : clang
79+ BAZEL_LLVM : C:\Program Files\LLVM
7780 steps :
7881 - uses : compnerd/gha-setup-swift@main
7982 with :
Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ config_setting(
2323 },
2424)
2525
26+ platform (
27+ name = "x64_windows-clang-cl" ,
28+ constraint_values = [
29+ "@platforms//cpu:x86_64" ,
30+ "@platforms//os:windows" ,
31+ "@bazel_tools//tools/cpp:clang-cl" ,
32+ ],
33+ )
34+
2635# Targets
2736
2837swift_library (
You can’t perform that action at this time.
0 commit comments