Skip to content

Commit

Permalink
Update macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Dec 21, 2024
1 parent c9d91be commit 1a5d21d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:

jobs:
build-python-sdk-macos:
runs-on: macos-14
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os-version:
os:
- "10.12"
- "13.0"
- "14.0"
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Build wheels - x86_64
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os-version }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os }}
with:
target: x86_64
args: -i python --out dist -m python/Cargo.toml
Expand All @@ -60,7 +60,7 @@ jobs:
if: ${{ matrix.python.universal2 }}
uses: PyO3/maturin-action@v1
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os-version }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os }}
with:
args: -i python --target universal2-apple-darwin --out dist -m python/Cargo.toml
- name: Install built wheel - universal2
Expand All @@ -70,5 +70,5 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.os-version }}-${{ matrix.python.version }}
name: wheels-macos-${{ matrix.os }}-${{ matrix.python.version }}
path: dist

0 comments on commit 1a5d21d

Please sign in to comment.