30
30
strategy :
31
31
fail-fast : false
32
32
matrix :
33
- runs-on : [ubuntu-20 .04, windows-2022, macos-13]
33
+ runs-on : [ubuntu-22 .04, windows-2022, macos-13]
34
34
python :
35
35
- ' 3.8'
36
- - ' 3.9'
37
- - ' 3.12'
38
36
- ' 3.13'
39
37
- ' pypy-3.10'
40
38
- ' pypy-3.11'
@@ -47,28 +45,28 @@ jobs:
47
45
# We support an optional key: args, for cmake args
48
46
include :
49
47
# Just add a key
50
- - runs-on : ubuntu-20 .04
48
+ - runs-on : ubuntu-22 .04
51
49
python : ' 3.8'
52
50
args : >
53
51
-DPYBIND11_FINDPYTHON=OFF
54
52
-DCMAKE_CXX_FLAGS="-D_=1"
55
53
-DPYBIND11_NUMPY_1_ONLY=ON
56
54
exercise_D_ : 1
57
- - runs-on : windows-2019
55
+ - runs-on : windows-2022
58
56
python : ' 3.8'
59
57
args : >
60
58
-DPYBIND11_FINDPYTHON=OFF
61
- # Inject a couple Windows 2019 runs
59
+ # Inject a Windows 2019 run
62
60
- runs-on : windows-2019
63
61
python : ' 3.9'
64
62
# Inject a few runs with different runtime libraries
65
63
- runs-on : windows-2022
66
- python : ' 3.9 '
64
+ python : ' 3.8 '
67
65
args : >
68
66
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
69
67
-DPYBIND11_NUMPY_1_ONLY=ON
70
68
- runs-on : windows-2022
71
- python : ' 3.10 '
69
+ python : ' 3.9 '
72
70
args : >
73
71
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL
74
72
# This needs a python built with MTd
@@ -77,28 +75,25 @@ jobs:
77
75
# args: >
78
76
# -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
79
77
- runs-on : windows-2022
80
- python : ' 3.12 '
78
+ python : ' 3.13 '
81
79
args : >
82
80
-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL
83
- # Extra ubuntu latest job
84
- - runs-on : ubuntu-latest
85
- python : ' 3.11'
86
81
# Run tests with py::smart_holder as the default holder
87
82
# with recent (or ideally latest) released Python version.
88
83
- runs-on : ubuntu-latest
89
84
python : ' 3.12'
90
85
args : >
91
86
-DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
92
87
- runs-on : macos-13
93
- python : ' 3.12 '
88
+ python : ' 3.11 '
94
89
args : >
95
90
-DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
96
91
- runs-on : windows-2022
97
- python : ' 3.12 '
92
+ python : ' 3.10 '
98
93
args : >
99
94
-DCMAKE_CXX_FLAGS="/DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE /GR /EHsc"
100
- - python : ' graalpy-24.1 '
101
- runs-on : ' ubuntu-latest '
95
+ - runs-on : ' ubuntu-latest '
96
+ python : ' graalpy-24.1 '
102
97
exclude :
103
98
# The setup-python action currently doesn't have graalpy for windows
104
99
# See https://github.com/actions/setup-python/pull/880
@@ -200,24 +195,6 @@ jobs:
200
195
- name : C++ tests
201
196
run : cmake --build build2 --target cpptest
202
197
203
- # Third build - C++17 mode with unstable ABI
204
- - name : Configure (unstable ABI)
205
- run : >
206
- cmake -S . -B build3
207
- -DPYBIND11_WERROR=ON
208
- -DPYBIND11_PYTEST_ARGS=-v
209
- -DDOWNLOAD_CATCH=ON
210
- -DDOWNLOAD_EIGEN=ON
211
- -DCMAKE_CXX_STANDARD=17
212
- -DPYBIND11_INTERNALS_VERSION=10000000
213
- ${{ matrix.args }}
214
-
215
- - name : Build (unstable ABI)
216
- run : cmake --build build3 -j 2
217
-
218
- - name : Python tests (unstable ABI)
219
- run : cmake --build build3 --target pytest
220
-
221
198
- name : Interface test
222
199
run : cmake --build build2 --target test_cmake_build
223
200
@@ -273,7 +250,7 @@ jobs:
273
250
python-debug : false
274
251
275
252
name : " 🐍 ${{ matrix.python-version }}${{ matrix.python-debug && '-dbg' || '' }} (deadsnakes)${{ matrix.valgrind && ' • Valgrind' || '' }} • x64"
276
- runs-on : ubuntu-20.04
253
+ runs-on : ubuntu-latest
277
254
278
255
steps :
279
256
- uses : actions/checkout@v4
@@ -346,28 +323,16 @@ jobs:
346
323
strategy :
347
324
fail-fast : false
348
325
matrix :
349
- container_suffix :
350
- - " "
351
326
include :
352
327
- clang : 5
353
328
std : 14
354
329
- clang : 11
355
330
std : 20
356
- - clang : 12
357
- std : 20
358
- - clang : 13
359
- std : 20
360
331
- clang : 14
361
332
std : 20
362
- - clang : 15
363
- std : 20
364
- container_suffix : " -bullseye"
365
333
- clang : 16
366
334
std : 20
367
335
container_suffix : " -bullseye"
368
- - clang : 17
369
- std : 20
370
- container_suffix : " -bookworm"
371
336
- clang : 18
372
337
std : 20
373
338
container_suffix : " -bookworm"
@@ -531,8 +496,6 @@ jobs:
531
496
- { gcc: 9, std: 20 }
532
497
- { gcc: 10, std: 17 }
533
498
- { gcc: 10, std: 20 }
534
- - { gcc: 11, std: 20 }
535
- - { gcc: 12, std: 20 }
536
499
- { gcc: 13, std: 20 }
537
500
538
501
name : " 🐍 3 • GCC ${{ matrix.gcc }} • C++${{ matrix.std }}• x64"
@@ -831,20 +794,12 @@ jobs:
831
794
matrix :
832
795
python :
833
796
- ' 3.8'
834
- - ' 3.9'
835
797
- ' 3.10'
836
- - ' 3.11'
837
- - ' 3.12'
798
+ - ' 3.13'
838
799
839
800
include :
840
- - python : ' 3.12'
841
- args : -DCMAKE_CXX_STANDARD=20
842
- - python : ' 3.11'
843
- args : -DCMAKE_CXX_STANDARD=20
844
801
- python : ' 3.10'
845
802
args : -DCMAKE_CXX_STANDARD=20
846
- - python : ' 3.9'
847
- args : -DCMAKE_CXX_STANDARD=20
848
803
- python : ' 3.8'
849
804
args : -DCMAKE_CXX_STANDARD=17
850
805
@@ -892,10 +847,6 @@ jobs:
892
847
strategy :
893
848
fail-fast : false
894
849
matrix :
895
- python :
896
- - 3.8
897
- - 3.9
898
-
899
850
include :
900
851
- python : 3.9
901
852
args : -DCMAKE_CXX_STANDARD=20
0 commit comments