3939 - ' pypy-3.8'
4040 - ' pypy-3.9'
4141 - ' pypy-3.10'
42- - ' pypy-3.11'
43- - ' graalpy-24.1'
4442
4543 # Items in here will either be added to the build matrix (if not
4644 # present), or add new keys to an existing matrix element if all the
6664 # Inject a couple Windows 2019 runs
6765 - runs-on : windows-2019
6866 python : ' 3.9'
69- # Inject a few runs with different runtime libraries
70- - runs-on : windows-2022
71- python : ' 3.9'
72- args : >
73- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded
74- - runs-on : windows-2022
75- python : ' 3.10'
76- args : >
77- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL
78- # This needs a python built with MTd
79- # - runs-on: windows-2022
80- # python: '3.11'
81- # args: >
82- # -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
83- - runs-on : windows-2022
84- python : ' 3.12'
85- args : >
86- -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL
8767 # Extra ubuntu latest job
8868 - runs-on : ubuntu-latest
8969 python : ' 3.11'
90- # Run tests with py::smart_holder as the default holder
91- # with recent (or ideally latest) released Python version.
92- - runs-on : ubuntu-latest
93- python : ' 3.12'
94- args : >
95- -DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
96- - runs-on : macos-13
97- python : ' 3.12'
98- args : >
99- -DCMAKE_CXX_FLAGS="-DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE"
100- - runs-on : windows-2022
101- python : ' 3.12'
102- args : >
103- -DCMAKE_CXX_FLAGS="/DPYBIND11_RUN_TESTING_WITH_SMART_HOLDER_AS_DEFAULT_BUT_NEVER_USE_IN_PRODUCTION_PLEASE /GR /EHsc"
104- exclude :
105- # The setup-python action currently doesn't have graalpy for windows
106- - python : ' graalpy-24.1'
107- runs-on : ' windows-2022'
10870
10971
11072 name : " 🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"
@@ -160,7 +122,6 @@ jobs:
160122 -DPYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION=ON
161123 -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
162124 -DPYBIND11_NUMPY_1_ONLY=ON
163- -DPYBIND11_PYTEST_ARGS=-v
164125 -DDOWNLOAD_CATCH=ON
165126 -DDOWNLOAD_EIGEN=ON
166127 -DCMAKE_CXX_STANDARD=11
@@ -190,7 +151,6 @@ jobs:
190151 -DPYBIND11_WERROR=ON
191152 -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF
192153 -DPYBIND11_NUMPY_1_ONLY=ON
193- -DPYBIND11_PYTEST_ARGS=-v
194154 -DDOWNLOAD_CATCH=ON
195155 -DDOWNLOAD_EIGEN=ON
196156 -DCMAKE_CXX_STANDARD=17
@@ -210,7 +170,6 @@ jobs:
210170 run : >
211171 cmake -S . -B build3
212172 -DPYBIND11_WERROR=ON
213- -DPYBIND11_PYTEST_ARGS=-v
214173 -DDOWNLOAD_CATCH=ON
215174 -DDOWNLOAD_EIGEN=ON
216175 -DCMAKE_CXX_STANDARD=17
@@ -351,11 +310,22 @@ jobs:
351310 strategy :
352311 fail-fast : false
353312 matrix :
313+ clang :
314+ - 3.6
315+ - 3.7
316+ - 3.9
317+ - 7
318+ - 9
319+ - dev
320+ std :
321+ - 11
354322 container_suffix :
355323 - " "
356324 include :
357325 - clang : 5
358326 std : 14
327+ - clang : 10
328+ std : 17
359329 - clang : 11
360330 std : 20
361331 - clang : 12
@@ -533,6 +503,10 @@ jobs:
533503 fail-fast : false
534504 matrix :
535505 include :
506+ - { gcc: 7, std: 11 }
507+ - { gcc: 7, std: 17 }
508+ - { gcc: 8, std: 14 }
509+ - { gcc: 8, std: 17 }
536510 - { gcc: 9, std: 20 }
537511 - { gcc: 10, std: 17 }
538512 - { gcc: 10, std: 20 }
@@ -753,9 +727,9 @@ jobs:
753727
754728 # This tests an "install" with the CMake tools
755729 install-classic :
756- name : " 🐍 3.9 • Debian • x86 • Install"
730+ name : " 🐍 3.7 • Debian • x86 • Install"
757731 runs-on : ubuntu-latest
758- container : i386/debian:bullseye
732+ container : i386/debian:buster
759733
760734 steps :
761735 - uses : actions/checkout@v1 # v1 is required to run inside docker
@@ -835,6 +809,7 @@ jobs:
835809 fail-fast : false
836810 matrix :
837811 python :
812+ - ' 3.7'
838813 - ' 3.8'
839814 - ' 3.9'
840815 - ' 3.10'
@@ -852,6 +827,8 @@ jobs:
852827 args : -DCMAKE_CXX_STANDARD=20
853828 - python : ' 3.8'
854829 args : -DCMAKE_CXX_STANDARD=17
830+ - python : ' 3.7'
831+ args : -DCMAKE_CXX_STANDARD=14
855832
856833
857834 name : " 🐍 ${{ matrix.python }} • MSVC 2019 • x86 ${{ matrix.args }}"
@@ -1030,6 +1007,7 @@ jobs:
10301007 git
10311008 mingw-w64-${{matrix.env}}-gcc
10321009 mingw-w64-${{matrix.env}}-python-pip
1010+ mingw-w64-${{matrix.env}}-python-numpy
10331011 mingw-w64-${{matrix.env}}-cmake
10341012 mingw-w64-${{matrix.env}}-make
10351013 mingw-w64-${{matrix.env}}-python-pytest
@@ -1041,7 +1019,7 @@ jobs:
10411019 with :
10421020 msystem : ${{matrix.sys}}
10431021 install : >-
1044- mingw-w64-${{matrix.env}}-python-numpy
1022+ git
10451023 mingw-w64-${{matrix.env}}-python-scipy
10461024 mingw-w64-${{matrix.env}}-eigen3
10471025
@@ -1139,7 +1117,7 @@ jobs:
11391117 uses : jwlawson/actions-setup-cmake@v2.0
11401118
11411119 - name : Install ninja-build tool
1142- uses : seanmiddleditch/gha-setup-ninja@v6
1120+ uses : seanmiddleditch/gha-setup-ninja@v5
11431121
11441122 - name : Run pip installs
11451123 run : |
0 commit comments