Skip to content

Commit c01c66b

Browse files
committed
ci: trim a bit more
Signed-off-by: Henry Schreiner <[email protected]>
1 parent da966f2 commit c01c66b

File tree

2 files changed

+13
-33
lines changed

2 files changed

+13
-33
lines changed

.github/workflows/ci.yml

+7-23
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ jobs:
5656
python: '3.8'
5757
args: >
5858
-DPYBIND11_FINDPYTHON=OFF
59-
# Inject a couple Windows 2019 runs
59+
# Inject a Windows 2019 run
6060
- runs-on: windows-2019
6161
python: '3.9'
6262
# Inject a few runs with different runtime libraries
6363
- runs-on: windows-2022
64-
python: '3.9'
64+
python: '3.8'
6565
args: >
6666
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
6767
-DPYBIND11_NUMPY_1_ONLY=ON
6868
- runs-on: windows-2022
69-
python: '3.10'
69+
python: '3.9'
7070
args: >
7171
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL
7272
# This needs a python built with MTd
@@ -75,26 +75,21 @@ jobs:
7575
# args: >
7676
# -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
7777
- runs-on: windows-2022
78-
python: '3.12'
78+
python: '3.13'
7979
args: >
8080
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL
81-
# Extra ubuntu latest jobs
82-
- runs-on: ubuntu-latest
83-
python: '3.9'
84-
- runs-on: ubuntu-latest
85-
python: '3.11'
8681
# Run tests with py::smart_holder as the default holder
8782
# with recent (or ideally latest) released Python version.
8883
- runs-on: ubuntu-latest
8984
python: '3.12'
9085
args: >
9186
-DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
9287
- runs-on: macos-13
93-
python: '3.12'
88+
python: '3.11'
9489
args: >
9590
-DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
9691
- runs-on: windows-2022
97-
python: '3.12'
92+
python: '3.10'
9893
args: >
9994
-DCMAKE_CXX_FLAGS="/DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE /GR /EHsc"
10095
- runs-on: 'ubuntu-latest'
@@ -328,8 +323,6 @@ jobs:
328323
strategy:
329324
fail-fast: false
330325
matrix:
331-
container_suffix:
332-
- ""
333326
include:
334327
- clang: 5
335328
std: 14
@@ -801,17 +794,12 @@ jobs:
801794
matrix:
802795
python:
803796
- '3.8'
797+
- '3.10'
804798
- '3.13'
805799

806800
include:
807-
- python: '3.12'
808-
args: -DCMAKE_CXX_STANDARD=20
809-
- python: '3.11'
810-
args: -DCMAKE_CXX_STANDARD=20
811801
- python: '3.10'
812802
args: -DCMAKE_CXX_STANDARD=20
813-
- python: '3.9'
814-
args: -DCMAKE_CXX_STANDARD=20
815803
- python: '3.8'
816804
args: -DCMAKE_CXX_STANDARD=17
817805

@@ -859,10 +847,6 @@ jobs:
859847
strategy:
860848
fail-fast: false
861849
matrix:
862-
python:
863-
- 3.8
864-
- 3.9
865-
866850
include:
867851
- python: 3.9
868852
args: -DCMAKE_CXX_STANDARD=20

.github/workflows/configure.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,28 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
runs-on: [ubuntu-22.04, macos-13, windows-latest]
28-
arch: [x64]
29-
cmake: ["3.26"]
30-
3127
include:
3228
- runs-on: ubuntu-22.04
33-
arch: x64
3429
cmake: "3.15"
3530

3631
- runs-on: ubuntu-22.04
37-
arch: x64
32+
cmake: "3.26"
33+
34+
- runs-on: ubuntu-22.04
3835
cmake: "3.29"
3936

4037
- runs-on: macos-13
41-
arch: x64
4238
cmake: "3.15"
4339

4440
- runs-on: macos-14
45-
arch: arm64
4641
cmake: "4.0"
4742

4843
- runs-on: windows-2019
49-
arch: x64 # x86 compilers seem to be missing on 2019 image
5044
cmake: "3.18"
5145

46+
- runs-on: windows-latest
47+
cmake: "4.0"
48+
5249
name: 🐍 3.11 • CMake ${{ matrix.cmake }} • ${{ matrix.runs-on }}
5350
runs-on: ${{ matrix.runs-on }}
5451

@@ -59,7 +56,6 @@ jobs:
5956
uses: actions/setup-python@v5
6057
with:
6158
python-version: 3.11
62-
architecture: ${{ matrix.arch }}
6359

6460
- name: Prepare env
6561
run: python -m pip install -r tests/requirements.txt

0 commit comments

Comments
 (0)