Skip to content

Commit b8c36c9

Browse files
committed
test build wheels windows
1 parent 32b29d4 commit b8c36c9

File tree

1 file changed

+33
-6
lines changed

1 file changed

+33
-6
lines changed

.github/workflows/build_wheels.yml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,44 @@ jobs:
1010
build_linux:
1111

1212
runs-on: ubuntu-latest
13-
strategy:
14-
max-parallel: 4
15-
matrix:
16-
python-version: [3.8]
1713

1814
steps:
1915
- uses: actions/checkout@v1
20-
- name: Set up Python ${{ matrix.python-version }}
16+
- name: Set up Python 3.8
2117
uses: actions/setup-python@v1
2218
with:
23-
python-version: ${{ matrix.python-version }}
19+
python-version: 3.8
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -r requirements.txt
25+
pip install -U "cython"
26+
- name: Install cibuildwheel
27+
run: |
28+
python -m pip install cibuildwheel==1.3.0
29+
30+
- name: Build wheel
31+
env:
32+
CIBW_BEFORE_BUILD: "pip install numpy cython"
33+
run: |
34+
python -m cibuildwheel --output-dir wheelhouse
35+
36+
- uses: actions/upload-artifact@v1
37+
with:
38+
name: wheels
39+
path: ./wheelhouse
40+
41+
build_windows:
42+
43+
runs-on: windows-2019
44+
45+
steps:
46+
- uses: actions/checkout@v1
47+
- name: Set up Python 3.8
48+
uses: actions/setup-python@v1
49+
with:
50+
python-version: 3.8
2451

2552
- name: Install dependencies
2653
run: |

0 commit comments

Comments
 (0)