summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2026-05-13 09:38:04 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2026-05-13 10:34:24 +0900
commit4d147883e4fa8ce3b9a1a25ae8f1e68a066362a6 (patch)
tree64cab877f7a213f0e542529f279426d3f40227c9
parent6123b798770560c31351406df8e4df20867481ca (diff)
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) <noreply@anthropic.com>
-rw-r--r--.github/workflows/windows.yml9
1 files 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() }}