File tree Expand file tree Collapse file tree 2 files changed +72
-9
lines changed Expand file tree Collapse file tree 2 files changed +72
-9
lines changed Original file line number Diff line number Diff line change 4343 - ' 3.6'
4444 - ' 3.9'
4545 - ' 3.10'
46- - ' pypy-3.7-v7.3.7 '
47- - ' pypy-3.8-v7.3.7 '
46+ - ' pypy-3.7'
47+ - ' pypy-3.8'
4848
4949 # Items in here will either be added to the build matrix (if not
5050 # present), or add new keys to an existing matrix element if all the
@@ -780,6 +780,61 @@ jobs:
780780 - name : Python tests
781781 run : cmake --build build -t pytest
782782
783+ win32-debug :
784+ strategy :
785+ fail-fast : false
786+ matrix :
787+ python :
788+ - 3.8
789+ - 3.9
790+
791+ include :
792+ - python : 3.9
793+ args : -DCMAKE_CXX_STANDARD=20
794+ - python : 3.8
795+ args : -DCMAKE_CXX_STANDARD=17
796+
797+ name : " 🐍 ${{ matrix.python }} • MSVC 2019 (Debug) • x86 ${{ matrix.args }}"
798+ runs-on : windows-2019
799+
800+ steps :
801+ - uses : actions/checkout@v2
802+
803+ - name : Setup Python ${{ matrix.python }}
804+ uses : actions/setup-python@v2
805+ with :
806+ python-version : ${{ matrix.python }}
807+ architecture : x86
808+
809+ - name : Update CMake
810+ 811+
812+ - name : Prepare MSVC
813+ 814+ with :
815+ arch : x86
816+
817+ - name : Prepare env
818+ run : |
819+ python -m pip install -r tests/requirements.txt
820+
821+ # First build - C++11 mode and inplace
822+ - name : Configure ${{ matrix.args }}
823+ run : >
824+ cmake -S . -B build
825+ -G "Visual Studio 16 2019" -A Win32
826+ -DCMAKE_BUILD_TYPE=Debug
827+ -DPYBIND11_WERROR=ON
828+ -DDOWNLOAD_CATCH=ON
829+ -DDOWNLOAD_EIGEN=ON
830+ -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
831+ ${{ matrix.args }}
832+ - name : Build C++11
833+ run : cmake --build build --config Debug -j 2
834+
835+ - name : Python tests
836+ run : cmake --build build --config Debug -t pytest
837+
783838 win32-msvc2017 :
784839 name : " 🐍 ${{ matrix.python }} • MSVC 2017 • x64"
785840 runs-on : windows-2016
Original file line number Diff line number Diff line change 1- --- ci.yml 2022-02-23 15:47:03.642613491 -0800
2- +++ ci_sh_def.yml 2022-02-23 15:48:12.551316461 -0800
1+ --- ci.yml 2022-03-10 10:32:48.282365464 -0800
2+ +++ ci_sh_def.yml 2022-03-10 10:38:55.058650883 -0800
33@@ -1,4 +1,16 @@
44- name: CI
55+ # PLEASE KEEP THIS GROUP OF FILES IN SYNC AT ALL TIMES:
134134 ${{ matrix.args }}
135135 - name: Build C++11
136136 run: cmake --build build -j 2
137- @@ -772,7 +796,7 @@
137+ @@ -803,6 +827,7 @@
138+ -DPYBIND11_WERROR=ON
139+ -DDOWNLOAD_CATCH=ON
140+ -DDOWNLOAD_EIGEN=ON
141+ + -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
142+ ${{ matrix.args }}
143+ - name: Build C++11
144+ run: cmake --build build --config Debug -j 2
145+ @@ -826,7 +851,7 @@
138146 - python: 3.7
139147 std: 17
140148 args: >
143151
144152 steps:
145153 - uses: actions/checkout@v2
146- @@ -838 ,6 +862 ,7 @@
154+ @@ -892 ,6 +917 ,7 @@
147155 -DDOWNLOAD_CATCH=ON
148156 -DDOWNLOAD_EIGEN=ON
149157 -DCMAKE_CXX_STANDARD=20
150158+ -DCMAKE_CXX_FLAGS="/GR /EHsc /DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT"
151159
152160 - name: Build C++20
153161 run: cmake --build build -j 2
154- @@ -885 ,7 +910 ,7 @@
162+ @@ -939 ,7 +965 ,7 @@
155163 - name: Configure C++11
156164 # LTO leads to many undefined reference like
157165 # `pybind11::detail::function_call::function_call(pybind11::detail::function_call&&)
160168
161169 - name: Build C++11
162170 run: cmake --build build -j 2
163- @@ -903 ,7 +928 ,7 @@
171+ @@ -957 ,7 +983 ,7 @@
164172 run: git clean -fdx
165173
166174 - name: Configure C++14
169177
170178 - name: Build C++14
171179 run: cmake --build build2 -j 2
172- @@ -921 ,7 +946 ,7 @@
180+ @@ -975 ,7 +1001 ,7 @@
173181 run: git clean -fdx
174182
175183 - name: Configure C++17
You can’t perform that action at this time.
0 commit comments