|
9 | 9 | branches:
|
10 | 10 | - main
|
11 | 11 | - release-*
|
| 12 | + - test-sharedlib-windows |
12 | 13 | pull_request:
|
13 | 14 | branches:
|
14 | 15 | - main
|
@@ -41,13 +42,11 @@ jobs:
|
41 | 42 | fail-fast: false
|
42 | 43 | matrix:
|
43 | 44 | os:
|
44 |
| - - ubuntu-latest |
45 | 45 | # actions/setup-python do not support Python 3.7 on macOS on
|
46 | 46 | # arm64. The latest macOS version available is macOS 14 but
|
47 | 47 | # it is arm64 only. Stick to macos-13 as long as we want to
|
48 | 48 | # test Python 3.7 on macOS. macOS 14 on arm64 is covered by
|
49 | 49 | # the Cirrus CI jobs.
|
50 |
| - - macos-13 |
51 | 50 | - windows-latest
|
52 | 51 | python:
|
53 | 52 | - '3.7'
|
|
57 | 56 | pyproject_metadata:
|
58 | 57 | -
|
59 | 58 | include:
|
60 |
| - - os: ubuntu-latest |
61 |
| - python: 'pypy-3.9' |
62 |
| - - os: ubuntu-latest |
63 |
| - python: 'pypy-3.10' |
64 |
| - - os: ubuntu-latest |
65 |
| - python: '3.8' |
66 |
| - - os: ubuntu-latest |
67 |
| - python: '3.9' |
68 |
| - - os: ubuntu-latest |
69 |
| - python: '3.10' |
70 |
| - # Test with older supported Meson version. Meson up to |
71 |
| - # version 1.2.3 requires distutils, which has been removed |
72 |
| - # from the stdlib in Python 3.12, thus test with Pythn 3.11. |
73 |
| - - os: ubuntu-latest |
74 |
| - python: '3.11' |
75 |
| - meson: '~=0.63.3' |
76 |
| - - os: ubuntu-latest |
77 |
| - python: '3.11' |
78 |
| - meson: '~=0.64.0' |
79 |
| - - os: ubuntu-latest |
80 |
| - python: '3.11' |
81 |
| - meson: '~=1.0.0' |
82 |
| - - os: ubuntu-latest |
83 |
| - python: '3.11' |
84 |
| - meson: '~=1.1.0' |
85 |
| - - os: ubuntu-latest |
86 |
| - python: '3.12' |
87 |
| - meson: '~=1.2.3' |
88 |
| - - os: ubuntu-latest |
89 |
| - python: '3.12' |
90 |
| - meson: '~=1.3.0' |
91 |
| - - os: ubuntu-latest |
92 |
| - python: '3.12' |
93 |
| - meson: '~=1.4.0' |
94 |
| - - os: ubuntu-latest |
95 |
| - python: '3.12' |
96 |
| - meson: '~=1.5.0' |
97 |
| - # Test with Meson master branch. |
98 |
| - - os: ubuntu-latest |
99 |
| - python: '3.12' |
100 |
| - meson: '@git+https://github.com/mesonbuild/meson.git' |
101 | 59 | - os: windows-latest
|
102 | 60 | python: '3.12'
|
103 | 61 | meson: '@git+https://github.com/mesonbuild/meson.git'
|
104 |
| - # Test with oldest supported pyproject-metadata |
105 |
| - - os: ubuntu-latest |
106 |
| - python: '3.12' |
107 |
| - pyproject_metadata: '==0.8.0' |
108 | 62 |
|
109 | 63 | steps:
|
110 | 64 | - name: Checkout
|
@@ -259,91 +213,3 @@ jobs:
|
259 | 213 | run: python -m pytest --showlocals -vv
|
260 | 214 | shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
|
261 | 215 |
|
262 |
| - pyston: |
263 |
| - runs-on: ubuntu-20.04 |
264 |
| - strategy: |
265 |
| - fail-fast: false |
266 |
| - matrix: |
267 |
| - python: |
268 |
| - - '3.8' |
269 |
| - meson: |
270 |
| - - |
271 |
| - |
272 |
| - steps: |
273 |
| - - name: Checkout |
274 |
| - uses: actions/checkout@v4 |
275 |
| - |
276 |
| - - name: Install pyston |
277 |
| - run: | |
278 |
| - wget https://github.com/pyston/pyston/releases/download/pyston_2.3.5/pyston_2.3.5_20.04_amd64.deb |
279 |
| - sudo apt install $(pwd)/pyston_2.3.5_20.04_amd64.deb |
280 |
| -
|
281 |
| - - name: Install Ninja |
282 |
| - run: sudo apt-get install ninja-build |
283 |
| - |
284 |
| - - name: Install Meson |
285 |
| - run: python -m pip install "meson ${{ matrix.meson }}" |
286 |
| - if: ${{ matrix.meson }} |
287 |
| - |
288 |
| - - name: Install |
289 |
| - run: pyston -m pip install .[test] |
290 |
| - |
291 |
| - - name: Run tests |
292 |
| - run: pyston -m pytest --showlocals -vv |
293 |
| - |
294 |
| - homebrew: |
295 |
| - runs-on: macos-latest |
296 |
| - strategy: |
297 |
| - fail-fast: false |
298 |
| - matrix: |
299 |
| - python: |
300 |
| - - '3.9' |
301 |
| - - '3.12' |
302 |
| - meson: |
303 |
| - - |
304 |
| - |
305 |
| - steps: |
306 |
| - - name: Checkout |
307 |
| - uses: actions/checkout@v4 |
308 |
| - |
309 |
| - - name: Install Homebrew Python |
310 |
| - run: | |
311 |
| - brew install --overwrite python@${{ matrix.python }} |
312 |
| - echo /usr/local/opt/python@${{ matrix.python }}/libexec/bin/ >> $GITHUB_PATH |
313 |
| -
|
314 |
| - - name: Install Ninja |
315 |
| - run: brew install ninja |
316 |
| - |
317 |
| - - name: Update pip |
318 |
| - # pip >= 23.0 fixes https://github.com/pypa/pip/issues/11539 |
319 |
| - run: python -m pip install --upgrade "pip >= 23.0" |
320 |
| - |
321 |
| - - name: Install Meson |
322 |
| - run: python -m pip install "meson ${{ matrix.meson }}" |
323 |
| - if: ${{ matrix.meson }} |
324 |
| - |
325 |
| - - name: Install |
326 |
| - run: python -m pip install .[test] |
327 |
| - |
328 |
| - - name: Run tests |
329 |
| - run: python -m pytest --showlocals -vv |
330 |
| - |
331 |
| - mypy: |
332 |
| - runs-on: ubuntu-latest |
333 |
| - steps: |
334 |
| - - name: Checkout |
335 |
| - uses: actions/checkout@v4 |
336 |
| - |
337 |
| - - name: Setup Python |
338 |
| - uses: actions/setup-python@v5 |
339 |
| - with: |
340 |
| - python-version: 3.9 |
341 |
| - |
342 |
| - - name: Install dependencies |
343 |
| - run: python -m pip install . |
344 |
| - |
345 |
| - - name: Install mypy |
346 |
| - run: python -m pip install mypy==1.5.1 |
347 |
| - |
348 |
| - - name: Run mypy |
349 |
| - run: mypy -p mesonpy |
0 commit comments