From 845497f483bfd88e9d3471827d67bd67ebcc98d8 Mon Sep 17 00:00:00 2001 From: "Adam Perry @ OpenAI" Date: Fri, 31 Jul 2026 18:15:07 +0000 Subject: [PATCH] Run native Windows Bazel tests with MSVC (#36372) ## What changed - Target `x86_64-pc-windows-msvc` in the post-merge native Windows Bazel job. - Select the `//:windows_x86_64_msvc` target platform and the MSVC host platform. - Update the job and execution-log artifact names to identify the MSVC target. GitOrigin-RevId: ca7d65c8bc074dccb5e7ebbac3be80b97545a846 --- .github/workflows/bazel.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 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 }}-runners labels: ${{ 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: bazel deployment: false @@ -279,7 +279,7 @@ jobs: id: prepare_bazel uses: ./.github/actions/prepare-bazel-ci with: - target: x86_64-pc-windows-gnullvm + target: x86_64-pc-windows-msvc cache-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: true uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 with: - name: bazel-execution-logs-test-windows-native-x86_64-pc-windows-gnullvm + name: bazel-execution-logs-test-windows-native-x86_64-pc-windows-msvc path: ${{ runner.temp }}/bazel-execution-logs if-no-files-found: ignore