Lightweight coding agent that runs in your terminal
Rust
Run native Windows Bazel tests with MSVC (#36372)
Adam Perry @ OpenAI845497f483bf
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.ymlindex 3e48b741b7..4197da9cb0 100644--- a/.github/workflows/bazel.yml+++ b/.github/workflows/bazel.yml@@ -264,7 +264,7 @@ jobs:runs-on:group: ${{ github.event.repository.name }}-runnerslabels: ${{ github.event.repository.name }}-windows-x64- name: Bazel test on windows-latest for x86_64-pc-windows-gnullvm (native main)+ name: Bazel test on windows-latest for x86_64-pc-windows-msvc (native main)environment:name: bazeldeployment: false@@ -279,7 +279,7 @@ jobs:id: prepare_bazeluses: ./.github/actions/prepare-bazel-ciwith:- target: x86_64-pc-windows-gnullvm+ target: x86_64-pc-windows-msvccache-scope: bazel-${{ github.job }}- name: bazel test //...@@ -298,6 +298,7 @@ jobs:bazel_test_args=(test+ --platforms=//:windows_x86_64_msvc--test_tag_filters=-argument-comment-lint--test_verbose_timeout_warnings--build_metadata=COMMIT_SHA=${GITHUB_SHA}@@ -307,6 +308,7 @@ jobs:./.github/scripts/run-bazel-ci.sh \--print-failed-action-summary \--print-failed-test-logs \+ --windows-msvc-host-platform \-- \"${bazel_test_args[@]}" \-- \@@ -317,7 +319,7 @@ jobs:continue-on-error: trueuses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0with:- name: bazel-execution-logs-test-windows-native-x86_64-pc-windows-gnullvm+ name: bazel-execution-logs-test-windows-native-x86_64-pc-windows-msvcpath: ${{ runner.temp }}/bazel-execution-logsif-no-files-found: ignore