FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
msgpack-python/.github/workflows/wheel.yml at main · msgpack/msgpack-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
msgpack
/
msgpack-python
Public
Notifications
You must be signed in to change notification settings
Fork
255
Star
2.1k
Code
Issues
4
Pull requests
5
Discussions
Actions
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
msgpack-python
/
.github
/
workflows
/
wheel.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
104 lines (93 loc) · 3.25 KB
Breadcrumbs
msgpack-python
/
.github
/
workflows
/
wheel.yml
Copy path
File metadata and controls
104 lines (93 loc) · 3.25 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
name
:
Build sdist and Wheels
on
:
push
:
branches
:
[main]
release
:
types
:
-
published
workflow_dispatch
:
jobs
:
build_wheels
:
strategy
:
matrix
:
include
:
-
os
:
ubuntu-24.04
-
os
:
ubuntu-24.04-arm
-
os
:
windows-latest
-
os
:
windows-11-arm
-
os
:
macos-15-intel
-
os
:
macos-latest
-
os
:
ubuntu-24.04
cibw_archs
:
riscv64
name_suffix
:
"
-riscv64
"
runs-on
:
${{ matrix.os }}
name
:
Build wheels on ${{ matrix.os }}${{ matrix.name_suffix || '' }}
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
-
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
with
:
python-version
:
"
3.x
"
cache
:
"
pip
"
-
name
:
Cythonize
shell
:
bash
run
:
|
pip install -r requirements.txt
make cython
-
name
:
Set up QEMU for emulation
if
:
matrix.cibw_archs == 'riscv64'
uses
:
docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8
#
v4.2.0
with
:
platforms
:
${{ matrix.cibw_archs }}
-
name
:
Build
uses
:
pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074
#
v4.2.0
env
:
CIBW_TEST_REQUIRES
:
"
pytest
"
CIBW_TEST_COMMAND
:
"
pytest {package}/test
"
CIBW_SKIP
:
"
cp38-* cp39-* cp310-win_arm64
"
CIBW_ARCHS
:
${{ matrix.cibw_archs || 'auto' }}
-
name
:
Build sdist
if
:
runner.os == 'Linux' && runner.arch == 'X64'
run
:
|
pip install build
python -m build -s -o wheelhouse
-
name
:
Upload Wheels to artifact
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7.0.1
with
:
name
:
wheels-${{ matrix.os }}${{ matrix.name_suffix || '' }}
path
:
wheelhouse
#
combine all wheels into one artifact
combine_wheels
:
needs
:
[build_wheels]
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
#
v8.0.1
with
:
#
unpacks all CIBW artifacts into dist/
pattern
:
wheels-*
path
:
dist
merge-multiple
:
true
-
name
:
Upload Wheels to artifact
uses
:
actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
#
v7.0.1
with
:
name
:
wheels-all
path
:
dist
#
https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml
upload_pypi
:
needs
:
[build_wheels]
runs-on
:
ubuntu-latest
environment
:
pypi
permissions
:
id-token
:
write
if
:
github.event_name == 'release' && github.event.action == 'published'
#
or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
#
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps
:
-
uses
:
actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
#
v8.0.1
with
:
#
unpacks all CIBW artifacts into dist/
pattern
:
wheels-*
path
:
dist
merge-multiple
:
true
-
uses
:
pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33
#
v1.14.2
#
with:
#
To test: repository-url: https://test.pypi.org/legacy/
Back
|
FazBrowse Home
|
New Git URL