@@ -18,13 +18,14 @@ jobs:
18
18
matrix :
19
19
runs-on : [ubuntu-latest, windows-latest, macos-latest]
20
20
python :
21
- - 2.7
22
- - 3.5
23
- - 3.6
24
- - 3.9
25
- - 3.10-dev
26
- - pypy2
27
- - pypy3
21
+ - ' 2.7'
22
+ - ' 3.5'
23
+ - ' 3.6'
24
+ - ' 3.9'
25
+ - ' 3.10'
26
+ - ' 3.11-dev'
27
+ - pypy-3.6
28
+ - pypy-3.7
28
29
29
30
# Items in here will either be added to the build matrix (if not
30
31
# present), or add new keys to an existing matrix element if all the
43
44
args : >
44
45
-DPYBIND11_FINDPYTHON=ON
45
46
46
- # These items will be removed from the build matrix, keys must match.
47
- exclude :
48
- # Currently 32bit only, and we build 64bit
49
- - runs-on : windows-latest
50
- python : pypy2
51
- - runs-on : windows-latest
52
- python : pypy3
53
-
54
- # TODO: PyPy2 7.3.3 segfaults, while 7.3.2 was fine.
55
- - runs-on : ubuntu-latest
56
- python : pypy2
57
-
58
47
name : " 🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}"
59
48
runs-on : ${{ matrix.runs-on }}
60
49
@@ -113,7 +102,7 @@ jobs:
113
102
114
103
- name : C++11 tests
115
104
# TODO: Figure out how to load the DLL on Python 3.8+
116
- if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))"
105
+ if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11 -dev'))"
117
106
run : cmake --build . --target cpptest -j 2
118
107
119
108
- name : Interface test C++11
@@ -141,7 +130,7 @@ jobs:
141
130
142
131
- name : C++ tests
143
132
# TODO: Figure out how to load the DLL on Python 3.8+
144
- if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))"
133
+ if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11 -dev'))"
145
134
run : cmake --build build2 --target cpptest
146
135
147
136
# Third build - C++17 mode with unstable ABI
@@ -195,7 +184,7 @@ jobs:
195
184
- python-version : 3.9
196
185
python-debug : true
197
186
valgrind : true
198
- - python-version : 3.10 -dev
187
+ - python-version : 3.11 -dev
199
188
python-debug : false
200
189
201
190
name : " 🐍 ${{ matrix.python-version }}${{ matrix.python-debug && '-dbg' || '' }} (deadsnakes)${{ matrix.valgrind && ' • Valgrind' || '' }} • x64"
@@ -735,7 +724,7 @@ jobs:
735
724
- 3.7
736
725
- 3.8
737
726
- 3.9
738
- - pypy3
727
+ - pypy-3.7
739
728
# TODO: fix hang on pypy2
740
729
741
730
include :
0 commit comments