From 852a4b5010e339930e974e03eafdaaa3f6f32c36 Mon Sep 17 00:00:00 2001 From: Scott Wolchok Date: Thu, 4 Sep 2025 20:39:33 -0700 Subject: [PATCH] s/windows-2022/windows-latest/ in .github/workflows/{ci,pip}.yml (#5826) Per request from @rwgk: https://github.com/pybind/pybind11/pull/5825#issuecomment-3256438901 --- .github/workflows/ci.yml | 20 ++++++++++---------- .github/workflows/pip.yml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc673643b..b95de6bc6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,7 +119,7 @@ jobs: - runs-on: macos-latest python-version: 'graalpy-24.2' - - runs-on: windows-latest + - runs-on: windows-2022 python-version: '3.9' cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON - runs-on: windows-2022 @@ -138,19 +138,19 @@ jobs: - runs-on: windows-2022 python-version: '3.13' cmake-args: -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL - - runs-on: windows-latest + - runs-on: windows-2022 python-version: '3.13t' cmake-args: -DCMAKE_CXX_STANDARD=17 - - runs-on: windows-latest + - runs-on: windows-2022 python-version: '3.14' cmake-args: -DCMAKE_CXX_STANDARD=20 - - runs-on: windows-latest + - runs-on: windows-2022 python-version: '3.14t' cmake-args: -DCMAKE_CXX_STANDARD=23 - - runs-on: windows-latest + - runs-on: windows-2022 python-version: 'pypy-3.10' cmake-args: -DCMAKE_CXX_STANDARD=17 - - runs-on: windows-latest + - runs-on: windows-2022 python-version: 'pypy3.11' cmake-args: -DCMAKE_CXX_STANDARD=20 # The setup-python action currently doesn't have graalpy for windows @@ -174,7 +174,7 @@ jobs: python-version: '3.9' - runs-on: macos-latest python-version: '3.12' - - runs-on: windows-latest + - runs-on: windows-2022 python-version: '3.11' name: "🐍 ${{ matrix.python-version }} • ${{ matrix.runs-on }} • x64 inplace C++14" @@ -1010,8 +1010,8 @@ jobs: mingw: if: github.event.pull_request.draft == false - name: "🐍 3 • windows-latest • ${{ matrix.sys }}" - runs-on: windows-latest + name: "🐍 3 • windows-2022 • ${{ matrix.sys }}" + runs-on: windows-2022 defaults: run: shell: msys2 {0} @@ -1121,7 +1121,7 @@ jobs: strategy: matrix: - os: [windows-latest] + os: [windows-2022] python: ['3.10'] runs-on: "${{ matrix.os }}" diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index e2ad0471e..496f84723 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -19,8 +19,8 @@ jobs: # This builds the sdists and wheels and makes sure the files are exactly as # expected. test-packaging: - name: 🐍 3.8 • 📦 tests • windows-latest - runs-on: windows-latest + name: 🐍 3.8 • 📦 tests • windows-2022 + runs-on: windows-2022 steps: - uses: actions/checkout@v5