From 973adf553c6ecf51bfb9ff15dad8c690a83541e2 Mon Sep 17 00:00:00 2001 From: Ken Jin Date: Fri, 6 Feb 2026 13:44:47 +0000 Subject: [PATCH] Upgrade to VS 2026 on Windows tailcall CI --- .github/actionlint.yaml | 5 ++--- .github/workflows/tail-call.yml | 4 +--- Lib/test/test_dtrace.py | 3 ++- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index 267ff6b42a8655..675712d65d4c95 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -1,7 +1,6 @@ self-hosted-runner: - # Pending https://github.com/rhysd/actionlint/issues/533 - # and https://github.com/rhysd/actionlint/issues/571 - labels: ["windows-11-arm", "macos-15-intel"] + # Pending https://github.com/rhysd/actionlint/pull/615 + labels: ["windows-2025-vs2026"] config-variables: null diff --git a/.github/workflows/tail-call.yml b/.github/workflows/tail-call.yml index 335e1a93dce4ea..853d149d20640c 100644 --- a/.github/workflows/tail-call.yml +++ b/.github/workflows/tail-call.yml @@ -52,7 +52,7 @@ jobs: # runner: windows-2022 - target: x86_64-pc-windows-msvc/msvc architecture: x64 - runner: windows-2022 + runner: windows-2025-vs2026 # - target: aarch64-pc-windows-msvc/msvc # architecture: ARM64 # runner: windows-2022 @@ -83,8 +83,6 @@ jobs: if: runner.os == 'Windows' && matrix.architecture != 'ARM64' shell: pwsh run: | - choco install visualstudio2026buildtools --no-progress -y --force --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --locale en-US --passive" - $env:PATH = "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\bin;$env:PATH" $env:PlatformToolset = "v145" ./PCbuild/build.bat --tail-call-interp -c Release -p ${{ matrix.architecture }} ./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3 diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py index e1adf8e9748506..ba2fa99707cd46 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -8,7 +8,7 @@ import unittest from test import support -from test.support import findfile +from test.support import findfile, MS_WINDOWS if not support.has_subprocess_support: @@ -103,6 +103,7 @@ class SystemTapBackend(TraceBackend): COMMAND = ["stap", "-g"] +@unittest.skipIf(MS_WINDOWS, "Tests not compliant with trace on Windows.") class TraceTests: # unittest.TestCase options maxDiff = None