File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build dist and wheels
2+
3+ on :
4+ push :
5+ branches :
6+ - ' build_wheels'
7+
8+
9+ jobs :
10+ build_linux :
11+
12+ runs-on : ubuntu-latest
13+ strategy :
14+ max-parallel : 4
15+ matrix :
16+ python-version : [3.5, 3.6, 3.7, 3.8]
17+
18+ steps :
19+ - uses : actions/checkout@v1
20+ - name : Set up Python ${{ matrix.python-version }}
21+ uses : actions/setup-python@v1
22+ with :
23+ python-version : ${{ matrix.python-version }}
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install -r requirements.txt
29+
30+ - name : Install cibuildwheel
31+ run : |
32+ python -m pip install cibuildwheel==1.3.0
33+
34+ - name : Build wheel
35+ run : |
36+ python -m cibuildwheel --output-dir wheelhouse
37+
38+ - uses : actions/upload-artifact@v1
39+ with :
40+ name : wheels
41+ path : ./wheelhouse
You can’t perform that action at this time.
0 commit comments