Skip to content

Commit 3f35e59

Browse files
committed
add test.yml
1 parent 0ba9115 commit 3f35e59

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Wheel with cibuildwheel
2+
3+
on:
4+
push:
5+
branches: [workflow_test]
6+
7+
jobs:
8+
build-wheel:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout source
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.10"
19+
20+
- name: Install cibuildwheel
21+
run: pip install cibuildwheel
22+
23+
- name: Build wheel
24+
run: python -m cibuildwheel --output-dir wheelhouse
25+
env:
26+
CIBW_ARCHS_LINUX: auto
27+
28+
- name: Upload wheel artifact
29+
uses: actions/upload-artifact@v3
30+
with:
31+
name: built-wheel
32+
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)