@@ -12,14 +12,16 @@ jobs:
12
12
name : Prepare environment for wheel builds
13
13
runs-on : ubuntu-24.04
14
14
steps :
15
- - uses : actions/checkout@v4
15
+ - uses : actions/checkout@v2
16
16
- name : Prepare wheel build
17
17
run : make -C python/ setup
18
18
- name : Store wheel configuration files
19
19
uses : actions/upload-artifact@v4
20
20
with :
21
21
name : wheel-config
22
22
path : python/
23
+ - name : Display files
24
+ run : ls -lR
23
25
24
26
build_wheels :
25
27
name : Build binary wheels on ${{ matrix.os }}
31
33
arch : [auto32, auto64, aarch64]
32
34
33
35
steps :
34
- - uses : actions/checkout@v4
35
-
36
+ - uses : actions/checkout@v2
37
+ - uses : actions/setup-python@v2
38
+ - name : Install cibuildwheel
39
+ run : python -m pip install cibuildwheel==2.1.2
36
40
- name : Get wheel configuration files
37
41
38
42
with :
@@ -46,21 +50,17 @@ jobs:
46
50
- name : Store binary wheels
47
51
uses : actions/upload-artifact@v4
48
52
with :
49
- name : binary-wheels
53
+ name : binary-wheels-${{matrix.os}}-${{matrix.arch}}
50
54
path : python/wheelhouse/*.whl
51
55
52
56
build_sdist :
53
57
name : Build source distribution
54
58
runs-on : ubuntu-24.04
55
59
needs : [build_setup]
56
60
steps :
57
- - uses : actions/checkout@v4
61
+ - uses : actions/checkout@v2
58
62
- name : Install cython
59
- run : |
60
- sudo apt-get update
61
- sudo apt-get install -y cython3
62
- env :
63
- DEBIAN_FRONTEND : noninteractive
63
+ run : python -m pip install cython==0.29.24
64
64
- name : Get wheel configuration files
65
65
66
66
with :
@@ -74,10 +74,12 @@ jobs:
74
74
with :
75
75
name : source-wheels
76
76
path : python/dist/*.tar.gz
77
+ - name : Display files
78
+ run : ls -lR
77
79
78
80
79
81
upload_pypi :
80
- name : Upload binary wheels to PyPI
82
+ name : Upload wheels to PyPI
81
83
runs-on : ubuntu-24.04
82
84
needs : [build_wheels, build_sdist]
83
85
90
92
- name : Get binary wheels
91
93
92
94
with :
93
- name : binary-wheels
94
95
path : dist/
96
+ pattern : binary-wheels-*
97
+ merge-multiple : true
98
+ - name : Display files
99
+ run : ls -lR
95
100
96
101
- uses : pypa/gh-action-pypi-publish@release/v1
97
102
with :
0 commit comments