FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.github/workflows/cibuildwheel.yml at main · arrowd/matplotlib · GitHub
arrowd
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.github
/
workflows
/
cibuildwheel.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
155 lines (138 loc) · 4.62 KB
Breadcrumbs
matplotlib
/
.github
/
workflows
/
cibuildwheel.yml
Copy path
File metadata and controls
155 lines (138 loc) · 4.62 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
name
:
Build CI wheels
on
:
#
Save CI by only running this on release branches or tags.
push
:
branches
:
-
main
-
v[0-9]+.[0-9]+.x
tags
:
-
v*
#
Also allow running this action on PRs if requested by applying the
#
"Run cibuildwheel" label.
pull_request
:
types
:
-
opened
-
synchronize
-
reopened
-
labeled
permissions
:
{}
jobs
:
build_sdist
:
if
:
>-
github.repository == 'matplotlib/matplotlib' && (
github.event_name == 'push' ||
github.event_name == 'pull_request' && (
(
github.event.action == 'labeled' &&
github.event.label.name == 'CI: Run cibuildwheel'
) ||
contains(github.event.pull_request.labels.*.name,
'CI: Run cibuildwheel')
)
)
name
:
Build sdist
runs-on
:
ubuntu-latest
permissions
:
contents
:
read
outputs
:
SDIST_NAME
:
${{ steps.sdist.outputs.SDIST_NAME }}
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
fetch-depth
:
0
persist-credentials
:
false
-
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
name
:
Install Python
with
:
python-version
:
'
3.12
'
#
Something changed somewhere that prevents the downloaded-at-build-time
#
licenses from being included in built wheels, so pre-download them so
#
that they exist before the build and are included.
-
name
:
Pre-download bundled licenses
run
:
>
curl -Lo LICENSE/LICENSE_QHULL
https://github.com/qhull/qhull/raw/2020.2/COPYING.txt
-
name
:
Install dependencies
run
:
python -m pip install build twine
-
name
:
Build sdist
id
:
sdist
run
:
|
python -m build --sdist
python ci/export_sdist_name.py
-
name
:
Check README rendering for PyPI
run
:
twine check dist/*
-
name
:
Upload sdist result
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7.0.1
with
:
name
:
cibw-sdist
path
:
dist/*.tar.gz
if-no-files-found
:
error
build_wheels
:
if
:
>-
github.repository == 'matplotlib/matplotlib' && (
github.event_name == 'push' ||
github.event_name == 'pull_request' && (
(
github.event.action == 'labeled' &&
github.event.label.name == 'CI: Run cibuildwheel'
) ||
contains(github.event.pull_request.labels.*.name,
'CI: Run cibuildwheel')
)
)
needs
:
build_sdist
name
:
Build wheels on ${{ matrix.os }} for ${{ matrix.cibw_archs }}
permissions
:
contents
:
read
runs-on
:
${{ matrix.os }}
strategy
:
matrix
:
include
:
-
os
:
ubuntu-latest
cibw_archs
:
"
x86_64
"
-
os
:
ubuntu-24.04-arm
cibw_archs
:
"
aarch64
"
-
os
:
windows-latest
cibw_archs
:
"
AMD64
"
-
os
:
windows-11-arm
cibw_archs
:
"
ARM64
"
-
os
:
macos-15-intel
cibw_archs
:
"
x86_64
"
-
os
:
macos-14
cibw_archs
:
"
arm64
"
steps
:
-
name
:
Download sdist
uses
:
actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
#
v8.0.1
with
:
name
:
cibw-sdist
path
:
dist/
-
name
:
Purge Strawberry Perl
if
:
startsWith(matrix.os, 'windows-')
run
:
Remove-Item -Recurse C:\Strawberry
-
name
:
Build wheels for CPython 3.14
uses
:
pypa/cibuildwheel@4726cd35bb13f7bde50cf2761f2499ac7b3aa32c
#
v4.1.1
with
:
package-dir
:
dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
env
:
CIBW_BUILD
:
"
cp314-* cp314t-*
"
CIBW_ARCHS
:
${{ matrix.cibw_archs }}
-
name
:
Build wheels for CPython 3.13
uses
:
pypa/cibuildwheel@4726cd35bb13f7bde50cf2761f2499ac7b3aa32c
#
v4.1.1
with
:
package-dir
:
dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
env
:
CIBW_BUILD
:
"
cp313-*
"
CIBW_ARCHS
:
${{ matrix.cibw_archs }}
-
name
:
Build wheels for CPython 3.12
uses
:
pypa/cibuildwheel@4726cd35bb13f7bde50cf2761f2499ac7b3aa32c
#
v4.1.1
with
:
package-dir
:
dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
env
:
CIBW_BUILD
:
"
cp312-*
"
CIBW_ARCHS
:
${{ matrix.cibw_archs }}
-
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7.0.1
with
:
name
:
cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
path
:
./wheelhouse/*.whl
if-no-files-found
:
error
Back
|
FazBrowse Home
|
New Git URL