Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: complete the Windows CI coverage #1295

Closed
wants to merge 14 commits into from
Prev Previous commit
Add CC env variable
Steelskin committed Aug 7, 2024
commit 17d91fff2a585f0a1059bcdc76dbdae764359f72
5 changes: 1 addition & 4 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -40,6 +40,7 @@ x_defaults:
platform: windows
environment:
SWIFT_VERSION: 0.0.0
CC: "clang-cl"
PATH: "%LOCALAPPDATA%\\Programs\\Swift\\Toolchains\\%SWIFT_VERSION%+Asserts\\usr\\bin;%LOCALAPPDATA%\\Programs\\Swift\\Runtimes\\%SWIFT_VERSION%\\usr\\bin;%PATH%"
SDKROOT: "%LOCALAPPDATA%\\Programs\\Swift\\Platforms\\%SWIFT_VERSION%\\Windows.platform\\Developer\\SDKs\\Windows.sdk"
BAZEL_LLVM: "%LOCALAPPDATA%\\Programs\\Swift\\Toolchains\\%SWIFT_VERSION%+Asserts\\usr"
@@ -50,10 +51,6 @@ x_defaults:
- "--compiler=clang-cl"
# TODO: Use the new way of setting toolchains.
- "--noincompatible_enable_cc_toolchain_resolution"
- "--repo_env=CC=clang-cl"
- "--repo_env=BAZEL_LLVM=${{ env.BAZEL_LLVM }}"
- "--repo_env=SDKROOT=${{ env.SDKROOT }}"
- "--repo_env=Path=${{ env.PATH }}"
build_targets:
- "//tools/..."
test_flags: