Skip to content

Commit

Permalink
upgrade to new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Dec 24, 2024
1 parent 402271b commit a51009f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/build-libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ on:
- '*-x86_64'

jobs:
build_macosx_x86_64:
name: Build MacOSX (x86_64)
runs-on: macOS-11
build_macosx:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, higher macos's are apple silicon
# At some point, maybe get this to work on windows-latest
os: [macos-13, macos-latest]

steps:
- name: Checkout
Expand All @@ -18,11 +23,19 @@ jobs:
uses: lukka/get-cmake@latest

- name: Run the build
if: ${{ matrix.python-version }} == "macos-13"
run: |
git config --global --add safe.directory $(pwd)
./build_macosx.sh "x86_64"
tar -czf macosx_x86_64.tar.gz installed/
- name: Run the build
if: ${{ matrix.python-version }} == "macos-latest"
run: |
git config --global --add safe.directory $(pwd)
./build_macosx.sh "arm64"
tar -czf macosx_arm64.tar.gz installed/
- name: Upload tarballs
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -50,12 +63,12 @@ jobs:

publish:
name: Publish libraries
needs: [build_macosx_x86_64, build_windows_x86_64]
needs: [build_macosx, build_windows_x86_64]
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- name: Download macosx (x86_64) artifact
- name: Download macosx artifact
uses: actions/download-artifact@v3
with:
path: dump
Expand All @@ -67,5 +80,5 @@ jobs:
- name: Publish release
uses: softprops/action-gh-release@v1
with:
name: "HDF5 binaries (x86_64)"
name: "HDF5 binaries"
files: dump/*/*
2 changes: 1 addition & 1 deletion manylinux_x86_64.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/pypa/manylinux2014_x86_64
FROM quay.io/pypa/manylinux_x_y
WORKDIR /home/root
COPY setup* .
COPY build_linux.sh .
Expand Down
2 changes: 1 addition & 1 deletion musllinux_x86_64.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/pypa/musllinux_1_1_x86_64
FROM quay.io/pypa/musllinux_1_2
WORKDIR /home/root
COPY setup* .
COPY build_linux.sh .
Expand Down

0 comments on commit a51009f

Please sign in to comment.