File tree 2 files changed +52
-1
lines changed
2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 2
2
" name " : " Release" ,
3
3
" on " : { "push": { "tags": "v*" }},
4
4
" jobs " : {
5
- " release-linux " : {
5
+ " release-main " : {
6
6
" runs-on " : " ubuntu-latest" ,
7
7
" steps " : [
8
8
{
63
63
],
64
64
},
65
65
66
+ " release-manylinux2014 " : {
67
+ " runs-on " : " ubuntu-latest" ,
68
+ " steps " : [
69
+ {
70
+ " name " : " Check out code" ,
71
+ " uses " : " actions/checkout@v2" ,
72
+ },
73
+ {
74
+ " name " : " manylinux2014 build" ,
75
+ " run " : " ./ci/run-on-linux.sh ./ci/manylinux2014.sh" ,
76
+ " env " : {
77
+ " DISTRO " : " quay.io/pypa/manylinux2014_x86_64" ,
78
+ " TWINE_USER " : " rharwood" ,
79
+ " TWINE_PASSWORD " : " ${{ secrets.pypi_password }}" ,
80
+ },
81
+ },
82
+ ],
83
+ },
84
+
66
85
" release-windows " : {
67
86
" runs-on " : " windows-latest" ,
68
87
" strategy " : {
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -ex
2
+
3
+ source ./ci/lib-setup.sh
4
+ source ./ci/lib-deploy.sh
5
+
6
+ setup::rh::yuminst krb5-devel
7
+
8
+ for python in /opt/python/* /bin/python; do
9
+ if [[ $python == * 35* ]]; then
10
+ continue
11
+ fi
12
+
13
+ $python -m pip install --install-option=' --no-cython-compile' cython
14
+ $python setup.py bdist_wheel
15
+ done
16
+
17
+ for whl in dist/* .whl; do
18
+ auditwheel repair $whl
19
+ done
20
+
21
+ python=/opt/python/cp38-cp38/bin/python
22
+ $python -m pip install twine
23
+
24
+ echo ' Running: set +x, python -m twine upload...'
25
+ set +x
26
+ $python -m twine upload -u $TWINE_USER -p $TWINE_PASSWORD wheelhouse/* .whl \
27
+ > out.log 2>&1 || true
28
+ set -x
29
+
30
+ egrep -i ' fail|error' out.log && cat.out.log && exit 1
31
+
32
+ exit 0
You can’t perform that action at this time.
0 commit comments