File tree Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Expand file tree Collapse file tree 1 file changed +21
-8
lines changed Original file line number Diff line number Diff line change 1- name : Build
1+ name : Build Release
22
33on : workflow_dispatch
4- # push:
5- # branches:
6- # - main
74
85jobs :
96 build_wheels :
107 name : Build wheels on ${{ matrix.os }}
118 runs-on : ${{ matrix.os }}
129 strategy :
1310 matrix :
14- os : [ubuntu-20.04 , windows-2019 , macOS-11 ]
11+ os : [ubuntu-latest , windows-latest , macOS-latest ]
1512
1613 steps :
1714 - uses : actions/checkout@v3
@@ -30,10 +27,26 @@ jobs:
3027
3128 - name : Build wheels
3229 run : python -m cibuildwheel --output-dir wheelhouse
33- # to supply options, put them in 'env', like:
34- # env:
35- # CIBW_SOME_OPTION: value
3630
3731 - uses : actions/upload-artifact@v3
3832 with :
3933 path : ./wheelhouse/*.whl
34+
35+ build_sdist :
36+ name : Build source distribution
37+ runs-on : ubuntu-latest
38+
39+ steps :
40+ - uses : actions/checkout@v3
41+ with :
42+ submodules : " true"
43+ - uses : actions/setup-python@v3
44+ - name : Install dependencies
45+ run : |
46+ python -m pip install --upgrade pip pytest cmake scikit-build setuptools
47+ - name : Build source distribution
48+ run : |
49+ python setup.py sdist
50+ - uses : actions/upload-artifact@v3
51+ with :
52+ path : ./dist/*.tar.gz
You can’t perform that action at this time.
0 commit comments