mirror of
https://github.com/openai/codex.git
synced 2026-09-29 16:57:06 +08:00
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
This commit is contained in:
committed by
copyberry
parent
775fb21d2a
commit
845497f483
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user