]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-132132: Upgrade to VS 2026 on Windows tailcall CI (GH-144544)
authorKen Jin <kenjin@python.org>
Fri, 6 Feb 2026 16:36:51 +0000 (00:36 +0800)
committerGitHub <noreply@github.com>
Fri, 6 Feb 2026 16:36:51 +0000 (16:36 +0000)
Upgrade to VS 2026 on Windows tailcall CI

.github/actionlint.yaml
.github/workflows/tail-call.yml
Lib/test/test_dtrace.py

index 267ff6b42a8655666bc14e714f3817982043c8b0..675712d65d4c95993c789d4b0344dd0b20e1362d 100644 (file)
@@ -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
 
index 335e1a93dce4ea5dadee3667da2133fbca5d2f56..853d149d20640c0e4d5169bef65207a8bc7bf48f 100644 (file)
@@ -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
index e1adf8e97485067a869017ea35d1be843c9cb6b0..ba2fa99707cd469f6e45cb75ebdabe806258c67c 100644 (file)
@@ -8,7 +8,7 @@ import types
 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