Skip to content

Commit 7ffa283

Browse files
authored
Merge pull request #38 from Fluorescence-Tools/development
Build wheels
2 parents e688fba + a8e2e09 commit 7ffa283

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/conda-release.yml renamed to .github/workflows/release.yml

+27-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
name: Build and Upload Conda Packages
2+
name: Build and Upload Packages
33

44
on:
55
# push:
@@ -59,3 +59,29 @@ jobs:
5959
run: |
6060
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload -u tpeulen --force conda-bld/**/*.tar.bz2
6161
62+
build_wheels:
63+
name: Build wheels on ${{ matrix.os }}
64+
runs-on: ${{ matrix.os }}
65+
strategy:
66+
matrix:
67+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
68+
69+
steps:
70+
- uses: actions/checkout@v4
71+
72+
# Used to host cibuildwheel
73+
- uses: actions/setup-python@v3
74+
75+
- name: Install cibuildwheel
76+
run: python -m pip install cibuildwheel==2.16.5
77+
78+
- name: Build wheels
79+
run: python -m cibuildwheel --output-dir wheelhouse
80+
# to supply options, put them in 'env', like:
81+
# env:
82+
# CIBW_SOME_OPTION: value
83+
84+
- uses: actions/upload-artifact@v4
85+
with:
86+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
87+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)