|
21 | 21 | - 2.7 |
22 | 22 | - 3.5 |
23 | 23 | - 3.6 |
24 | | - - 3.7 |
25 | | - - 3.8 |
26 | 24 | - 3.9 |
27 | | - # - 3.10.0-alpha.1 - need next release for pybind11 fix |
| 25 | + - 3.10-dev |
28 | 26 | - pypy2 |
29 | 27 | - pypy3 |
30 | 28 |
|
|
44 | 42 | python: 3.6 |
45 | 43 | args: > |
46 | 44 | -DPYBIND11_FINDPYTHON=ON |
47 | | - - runs-on: ubuntu-latest |
48 | | - python: 3.8 |
49 | | - args: > |
50 | | - -DPYBIND11_FINDPYTHON=ON |
51 | 45 |
|
52 | 46 | # These items will be removed from the build matrix, keys must match. |
53 | 47 | exclude: |
|
57 | 51 | - runs-on: windows-latest |
58 | 52 | python: pypy3 |
59 | 53 |
|
60 | | - # Let's drop a few macOS runs since that tends to be 2.7 or 3.8+ |
61 | | - - runs-on: macos-latest |
62 | | - python: 3.6 |
63 | | - - runs-on: macos-latest |
64 | | - python: 3.7 |
| 54 | + # TODO: PyPy2 7.3.3 segfaults, while 7.3.2 was fine. |
| 55 | + - runs-on: ubuntu-latest |
| 56 | + python: pypy2 |
65 | 57 |
|
66 | 58 | name: "🐍 ${{ matrix.python }} • ${{ matrix.runs-on }} • x64 ${{ matrix.args }}" |
67 | 59 | runs-on: ${{ matrix.runs-on }} |
@@ -117,7 +109,7 @@ jobs: |
117 | 109 |
|
118 | 110 | - name: C++11 tests |
119 | 111 | # TODO: Figure out how to load the DLL on Python 3.8+ |
120 | | - if: "!(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9))" |
| 112 | + if: "!(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))" |
121 | 113 | run: cmake --build . --target cpptest -j 2 |
122 | 114 |
|
123 | 115 | - name: Interface test C++11 |
@@ -145,7 +137,7 @@ jobs: |
145 | 137 |
|
146 | 138 | - name: C++ tests |
147 | 139 | # TODO: Figure out how to load the DLL on Python 3.8+ |
148 | | - if: "!(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9))" |
| 140 | + if: "!(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10-dev'))" |
149 | 141 | run: cmake --build build2 --target cpptest |
150 | 142 |
|
151 | 143 | - name: Interface test |
@@ -250,44 +242,48 @@ jobs: |
250 | 242 | run: cmake --build build --target pytest |
251 | 243 |
|
252 | 244 |
|
253 | | - # Testing CentOS 8 + PGI compilers |
254 | | - centos-nvhpc8: |
255 | | - runs-on: ubuntu-latest |
256 | | - name: "🐍 3 • CentOS8 / PGI 20.7 • x64" |
257 | | - container: centos:8 |
258 | | - |
259 | | - steps: |
260 | | - - uses: actions/checkout@v2 |
261 | | - |
262 | | - - name: Add Python 3 and a few requirements |
263 | | - run: yum update -y && yum install -y git python3-devel python3-numpy python3-pytest make environment-modules |
264 | | - |
265 | | - - name: Install CMake with pip |
266 | | - run: | |
267 | | - python3 -m pip install --upgrade pip |
268 | | - python3 -m pip install cmake --prefer-binary |
269 | | -
|
270 | | - - name: Install NVidia HPC SDK |
271 | | - run: yum -y install https://developer.download.nvidia.com/hpc-sdk/nvhpc-20-7-20.7-1.x86_64.rpm https://developer.download.nvidia.com/hpc-sdk/nvhpc-2020-20.7-1.x86_64.rpm |
272 | | - |
273 | | - - name: Configure |
274 | | - shell: bash |
275 | | - run: | |
276 | | - source /etc/profile.d/modules.sh |
277 | | - module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/20.7 |
278 | | - cmake -S . -B build -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_STANDARD=14 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") |
279 | | -
|
280 | | - - name: Build |
281 | | - run: cmake --build build -j 2 --verbose |
282 | | - |
283 | | - - name: Python tests |
284 | | - run: cmake --build build --target pytest |
285 | | - |
286 | | - - name: C++ tests |
287 | | - run: cmake --build build --target cpptest |
288 | | - |
289 | | - - name: Interface test |
290 | | - run: cmake --build build --target test_cmake_build |
| 245 | +# TODO: Internal compiler error - report to NVidia |
| 246 | +# # Testing CentOS 8 + PGI compilers |
| 247 | +# centos-nvhpc8: |
| 248 | +# runs-on: ubuntu-latest |
| 249 | +# name: "🐍 3 • CentOS8 / PGI 20.11 • x64" |
| 250 | +# container: centos:8 |
| 251 | +# |
| 252 | +# steps: |
| 253 | +# - uses: actions/checkout@v2 |
| 254 | +# |
| 255 | +# - name: Add Python 3 and a few requirements |
| 256 | +# run: yum update -y && yum install -y git python3-devel python3-numpy python3-pytest make environment-modules |
| 257 | +# |
| 258 | +# - name: Install CMake with pip |
| 259 | +# run: | |
| 260 | +# python3 -m pip install --upgrade pip |
| 261 | +# python3 -m pip install cmake --prefer-binary |
| 262 | +# |
| 263 | +# - name: Install NVidia HPC SDK |
| 264 | +# run: > |
| 265 | +# yum -y install |
| 266 | +# https://developer.download.nvidia.com/hpc-sdk/20.11/nvhpc-20-11-20.11-1.x86_64.rpm |
| 267 | +# https://developer.download.nvidia.com/hpc-sdk/20.11/nvhpc-2020-20.11-1.x86_64.rpm |
| 268 | +# |
| 269 | +# - name: Configure |
| 270 | +# shell: bash |
| 271 | +# run: | |
| 272 | +# source /etc/profile.d/modules.sh |
| 273 | +# module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/20.11 |
| 274 | +# cmake -S . -B build -DDOWNLOAD_CATCH=ON -DCMAKE_CXX_STANDARD=14 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") |
| 275 | +# |
| 276 | +# - name: Build |
| 277 | +# run: cmake --build build -j 2 --verbose |
| 278 | +# |
| 279 | +# - name: Python tests |
| 280 | +# run: cmake --build build --target pytest |
| 281 | +# |
| 282 | +# - name: C++ tests |
| 283 | +# run: cmake --build build --target cpptest |
| 284 | +# |
| 285 | +# - name: Interface test |
| 286 | +# run: cmake --build build --target test_cmake_build |
291 | 287 |
|
292 | 288 |
|
293 | 289 | # Testing on CentOS 7 + PGI compilers, which seems to require more workarounds |
|
0 commit comments