Skip to content

Commit 49e8d7d

Browse files
authored
try experimental wheel file
1 parent b69aec7 commit 49e8d7d

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Build python-libsbml-experimental Wheels
2+
3+
on:
4+
workflow_dispatch:
5+
6+
7+
env:
8+
LIBSBML_EXPERIMENTAL: 1
9+
10+
11+
jobs:
12+
make_sdist:
13+
name: Make SDist
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0 # Optional, use if you use setuptools_scm
19+
submodules: true # Optional, use if you have submodules
20+
21+
- name: Build SDist
22+
run: pipx run build --sdist
23+
24+
- uses: actions/upload-artifact@v2
25+
with:
26+
path: dist/*.tar.gz
27+
name: sdist
28+
29+
build_wheels:
30+
name: Wheel on ${{ matrix.os }} for ${{ matrix.python_version }}
31+
runs-on: ${{ matrix.os }}
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
os: [ubuntu-20.04, windows-2019, macos-10.15]
36+
python_version: ['cp37-*', 'cp38-*', 'cp39-*', 'cp310-*']
37+
38+
steps:
39+
- uses: actions/checkout@v1
40+
with:
41+
submodules: true
42+
43+
- uses: pypa/cibuildwheel@v2.3.1
44+
env:
45+
CIBW_BUILD: ${{ matrix.python_version }}
46+
CIBW_ARCHS_MACOS: x86_64 arm64
47+
48+
- name: Upload wheels
49+
uses: actions/upload-artifact@v2
50+
with:
51+
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)