Skip to content

Commit

Permalink
Adding new target for m1 (#317)
Browse files Browse the repository at this point in the history
* Adding new target for m1

* Indent fix.
  • Loading branch information
Narsil committed Aug 9, 2023
1 parent 27fa035 commit 0d14aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ jobs:
strategy:
matrix:
python: ["3.9.13", "3.10.6", "3.11.0"]
target: ["12.0", "13.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -143,7 +144,7 @@ jobs:
which python
pip install -U setuptools wheel setuptools-rust awscli
cd ./bindings/python
python setup.py bdist_wheel
MACOSX_DEPLOYMENT_TARGET=${{ matrix.target }} python setup.py bdist_wheel
cd ../../
aws s3 sync --exact-timestamps ./bindings/python/dist "s3://safetensors-releases/python/$DIST_DIR"
Expand Down

0 comments on commit 0d14aff

Please sign in to comment.