Skip to content

Commit fe65bd9

Browse files
committed
DEBUG: run sharedlib Windows jobs on fork
1 parent ce32f09 commit fe65bd9

File tree

1 file changed

+1
-135
lines changed

1 file changed

+1
-135
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
branches:
1010
- main
1111
- release-*
12+
- test-sharedlib-windows
1213
pull_request:
1314
branches:
1415
- main
@@ -41,13 +42,11 @@ jobs:
4142
fail-fast: false
4243
matrix:
4344
os:
44-
- ubuntu-latest
4545
# actions/setup-python do not support Python 3.7 on macOS on
4646
# arm64. The latest macOS version available is macOS 14 but
4747
# it is arm64 only. Stick to macos-13 as long as we want to
4848
# test Python 3.7 on macOS. macOS 14 on arm64 is covered by
4949
# the Cirrus CI jobs.
50-
- macos-13
5150
- windows-latest
5251
python:
5352
- '3.7'
@@ -57,54 +56,9 @@ jobs:
5756
pyproject_metadata:
5857
-
5958
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'
10159
- os: windows-latest
10260
python: '3.12'
10361
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'
10862

10963
steps:
11064
- name: Checkout
@@ -259,91 +213,3 @@ jobs:
259213
run: python -m pytest --showlocals -vv
260214
shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0}
261215

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

Comments
 (0)