Skip to content

Commit

Permalink
Use the new prebuilt HDF5 images (#30)
Browse files Browse the repository at this point in the history
* bump to 0.1.1
  • Loading branch information
jkanche authored Dec 24, 2024
1 parent e3c547e commit 8968fff
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- "*"
pull_request:

jobs:
build_linux_x86_64:
Expand All @@ -18,8 +19,8 @@ jobs:
env:
CIBW_ARCHS: x86_64
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/artifactdb/prebuilt-hdf5/manylinux_x86_64:0.0.4
CIBW_MUSLLINUX_X86_64_IMAGE: ghcr.io/artifactdb/prebuilt-hdf5/musllinux_x86_64:0.0.4
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/artifactdb/prebuilt-hdf5/manylinux_x86_64:0.1.1
CIBW_MUSLLINUX_X86_64_IMAGE: ghcr.io/artifactdb/prebuilt-hdf5/musllinux_x86_64:0.1.1
CIBW_SKIP: pp*

- uses: actions/upload-artifact@v4
Expand All @@ -36,7 +37,7 @@ jobs:

- name: Grab prebuilt dependencies
run: |
curl -L https://github.com/ArtifactDB/prebuilt-hdf5/releases/download/0.0.4/macosx_x86_64.tar.gz > bundle.tar.gz
curl -L https://github.com/ArtifactDB/prebuilt-hdf5/releases/download/0.1.1/macosx_x86_64.tar.gz > bundle.tar.gz
tar -xvf bundle.tar.gz
- name: Build wheels
Expand All @@ -47,7 +48,7 @@ jobs:
CIBW_ENVIRONMENT: "MORE_CMAKE_OPTIONS=\"-DCMAKE_INSTALL_PREFIX=$(pwd)/installed -DCMAKE_OSX_ARCHITECTURES=x86_64\""
CIBW_BUILD_VERBOSITY: 3
CIBW_SKIP: pp*
MACOSX_DEPLOYMENT_TARGET: 11.7
MACOSX_DEPLOYMENT_TARGET: 13.7

- uses: actions/upload-artifact@v4
with:
Expand All @@ -63,7 +64,7 @@ jobs:

- name: Grab prebuilt dependencies
run: |
curl -L https://github.com/ArtifactDB/prebuilt-hdf5/releases/download/0.0.4-manual/macosx_arm64.tar.gz > bundle.tar.gz
curl -L https://github.com/ArtifactDB/prebuilt-hdf5/releases/download/0.1.1/macosx_arm64.tar.gz > bundle.tar.gz
tar -xvf bundle.tar.gz
- name: Build wheels
Expand All @@ -74,7 +75,7 @@ jobs:
CIBW_ENVIRONMENT: "MORE_CMAKE_OPTIONS=\"-DCMAKE_INSTALL_PREFIX=$(pwd)/installed -DCMAKE_OSX_ARCHITECTURES=arm64\""
CIBW_BUILD_VERBOSITY: 3
CIBW_SKIP: pp*
MACOSX_DEPLOYMENT_TARGET: 13.0
MACOSX_DEPLOYMENT_TARGET: 14.0

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -132,6 +133,7 @@ jobs:
path: dist/*.tar.gz

upload_pypi:
if: startsWith(github.ref, 'refs/tags/')
needs: [build_linux_x86_64, build_macosx_x86_64, build_macosx_arm64, build_sdist]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8968fff

Please sign in to comment.