File tree 1 file changed +45
-0
lines changed 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,51 @@ jobs:
165
165
run : pytest tests/extra_setuptools
166
166
167
167
168
+ deadsnakes :
169
+ strategy :
170
+ fail-fast : false
171
+ matrix :
172
+ python :
173
+ - version : 2.7
174
+ debug : true
175
+ - version : 3.9
176
+ debug : true
177
+ - version : 3.10-dev
178
+ debug : false
179
+
180
+ name : " 🐍 ${{ matrix.python.version }} (deadsnakes)${{ matrix.python.debug && ' • Debug' || '' }}"
181
+ runs-on : ubuntu-lates
182
+
183
+ steps :
184
+ - uses : actions/checkout@v2
185
+
186
+ - name : Setup Python ${{ matrix.python.version }}
187
+ uses :
deadsnakes/[email protected]
188
+ with :
189
+ python-version : ${{ matrix.python.version }}
190
+ debug : ${{ matrix.python.version.debug }}
191
+
192
+ - name : Prepare env
193
+ run : python -m pip install -r tests/requirements.txt --prefer-binary
194
+
195
+ - name : Configure
196
+ run : >
197
+ cmake -S . -B build
198
+ -DPYBIND11_WERROR=ON
199
+ -DDOWNLOAD_CATCH=ON
200
+ -DDOWNLOAD_EIGEN=ON
201
+ -DCMAKE_CXX_STANDARD=17
202
+
203
+ - name : Build
204
+ run : cmake --build build -j 2
205
+
206
+ - name : Python tests
207
+ run : cmake --build build --target pytest
208
+
209
+ - name : C++ tests
210
+ run : cmake --build build --target cpptest
211
+
212
+
168
213
# Testing on clang using the excellent silkeh clang docker images
169
214
clang :
170
215
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments