forked from mesonbuild/meson-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
79 lines (70 loc) · 1.94 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
test_template: &test
test_script:
- command -v python3
- python3 --version
- python3 -m pip install .[test]
- python3 -m pytest
alpine-3_task:
container:
dockerfile: ci/alpine-3.docker
cpu: 1
fix-pyproject-metadata_script:
# see https://github.com/FFY00/python-pyproject-metadata/pull/44
- python3 -m pip install "pyproject-metadata < 0.7.0"
<< : *test
archlinux_task:
container:
dockerfile: ci/archlinux.docker
cpu: 1
<< : *test
debian-11_task:
container:
dockerfile: ci/debian-11.docker
cpu: 1
fix-pip_script:
# see https://github.com/pypa/pip/pull/11623
- python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@a057c9bc99ad7eab2e3b1539e79eee7d9a923f4f"
<< : *test
debian-unstable_task:
container:
dockerfile: ci/debian-unstable.docker
cpu: 1
fix-pip_script:
# see https://github.com/pypa/pip/pull/11623
- python3 -m pip install --upgrade "pip @ git+https://github.com/pypa/pip.git@a057c9bc99ad7eab2e3b1539e79eee7d9a923f4f"
<< : *test
fedora-37_task:
container:
dockerfile: ci/fedora-37.docker
cpu: 1
<< : *test
manylinux-python3.11_task:
container:
dockerfile: ci/manylinux.docker
cpu: 1
env:
PATH: "/opt/python/cp311-cp311/bin/:${PATH}"
<< : *test
manylinux-python3.7_task:
container:
dockerfile: ci/manylinux.docker
cpu: 1
env:
PATH: "/opt/python/cp37-cp37m/bin/:${PATH}"
fix-meson_script:
# see https://github.com/mesonbuild/meson/issues/11097
- mkdir wheelhouse
- python -m pip wheel --wheel-dir wheelhouse git+https://github.com/mesonbuild/meson@refs/pull/11104/head
- echo "PIP_FIND_LINKS=$(pwd)/wheelhouse/" >> $CIRRUS_ENV
- PIP_FIND_LINKS="$(pwd)/wheelhouse/" python -m pip install meson
<< : *test
miniconda_task:
container:
dockerfile: ci/miniconda.docker
cpu: 1
<< : *test
opensuse-15_task:
container:
dockerfile: ci/opensuse-15.docker
cpu: 1
<< : *test