install watcher-c header file #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wheels | |
on: | |
push: | |
branches: [ release, next ] | |
pull_request: | |
branches: [ release, next ] | |
# macos-13 is an intel runner, which cibw wants for x86 builds... But intel mac is busted. | |
# https://github.com/e-dant/watcher/actions/runs/9929111640/job/27426247416#step:3:293 | |
# We don't support Windows (but we want to) because meson-python doesn't allow us | |
# to install shared libraries in wheels for Windows. More info and whatnot here: | |
# https://github.com/mesonbuild/meson-python/discussions/629 | |
# Other refs, for the action file: | |
# - https://cibuildwheel.pypa.io/en/stable/setup | |
# - https://github.com/scikit-image/scikit-image/blob/main/.github/workflows/wheels_recipe.yml | |
jobs: | |
wheels-linux: | |
name: (x86_64|aarch64)-unknown-linux-(gnu|musl) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64 | |
- uses: pypa/[email protected] | |
with: | |
package-dir: . | |
output-dir: wheelhouse | |
config-file: pyproject.toml | |
- run: python3 tool/shasum.py wheelhouse show | |
- run: python3 tool/shasum.py wheelhouse mk | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: wheels-linux | |
path: wheelhouse/* | |
wheels-apple: | |
name: aarch64-apple-darwin | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pypa/[email protected] | |
env: | |
MACOSX_DEPLOYMENT_TARGET: 11 | |
with: | |
package-dir: . | |
output-dir: wheelhouse | |
config-file: pyproject.toml | |
- run: python3 tool/shasum.py wheelhouse show | |
- run: python3 tool/shasum.py wheelhouse mk | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: wheels-apple | |
path: wheelhouse/* |