File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 1212 fail-fast : false
1313 matrix :
1414 python-version : [3.6, 3.7, 3.8]
15- platform : [ubuntu-latest, macos-latest, windows-latest]
15+ platform : [macos-latest, windows-latest] # No wheels on linux yet
1616 runs-on : ${{ matrix.platform }}
1717
1818 steps :
3737 python setup.py bdist_wheel
3838 twine upload dist/*
3939
40+ linux_wheels :
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v1
44+ - name : Set up Python
45+ uses : actions/setup-python@v1
46+ with :
47+ python-version : 3.8
48+ - name : Install dependencies
49+ run : |
50+ python -m pip install --upgrade pip
51+ pip install twine
52+ - name : Python wheels manylinux build
53+ uses : RalfG/python-wheels-manylinux-build@v0.1
54+ with :
55+ python-versions : ' cp36-cp36m cp37-cp37m cp38-cp38'
56+ build-requirements : ' setuptools cython'
57+ - name : Build and publish wheel
58+ env :
59+ TWINE_USERNAME : __token__
60+ TWINE_PASSWORD : ${{ secrets.PYPI_UPLOAD_TOKEN }}
61+ run : |
62+ python setup.py bdist_wheel
63+ twine upload wheelhouse/*-manylinux1_x86_64.whl
64+
4065 sdist :
4166 runs-on : ubuntu-latest
4267 steps :
You can’t perform that action at this time.
0 commit comments