From 4d147883e4fa8ce3b9a1a25ae8f1e68a066362a6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 13 May 2026 09:38:04 +0900 Subject: Drop matrix.vc from windows.yml The vc matrix field was only used in job names, a cmd comment, and Slack labels; it never affected the build because vssetup.cmd selects the latest Visual Studio on the runner image via vswhere -latest. Remove it and tidy the display strings so they no longer show an empty "Visual C++" segment. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/windows.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f6324f34d4..ed1e51a811 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -26,16 +26,13 @@ jobs: matrix: include: - os: 2022 - vc: 2022 test_task: check - os: 2025-vs2026 - vc: 2022 test_task: check - os: 11-arm test_task: 'btest test-basic test-tool' # check and test-spec are broken yet. target: arm64 - os: 2025-vs2026 - vc: 2022 test_task: test-bundled-gems fail-fast: false @@ -49,7 +46,7 @@ jobs: || (github.event.pull_request.user.login == 'dependabot[bot]' && !startsWith(github.head_ref, 'dependabot/vcpkg')) )}} - name: Windows ${{ matrix.os }}/Visual C++ ${{ matrix.vc }} (${{ matrix.test_task }}) + name: Windows ${{ matrix.os }} (${{ matrix.test_task }}) env: GITPULLOPTIONS: --no-tags origin ${{ github.ref }} @@ -113,8 +110,6 @@ jobs: # %TEMP% is inconsistent with %TMP% and test-all expects they are consistent. # https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302 run: | - ::- Set up VC ${{ matrix.vc }} - ::- Using sort.exe located in the same directory as comm.exe ::- should probably work just fine. for %%I in (comm.exe) do set "sort=%%~dp$PATH:I\sort.exe" @@ -188,7 +183,7 @@ jobs: - uses: ./.github/actions/slack with: - label: Windows ${{ matrix.os }} / VC ${{ matrix.vc }} / ${{ matrix.test_task || 'check' }} + label: Windows ${{ matrix.os }} / ${{ matrix.test_task || 'check' }} SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot if: ${{ failure() }} -- cgit v1.2.3