Skip to content

Commit

Permalink
Fixed GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cykooz committed May 15, 2024
1 parent cd144d5 commit 2475c31
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install Rust toolchain
- name: Install Rust toolchain x86_64
uses: dtolnay/rust-toolchain@stable
with:
target: "x86_64-apple-darwin"

- name: Install Rust toolchain aarch64
uses: dtolnay/rust-toolchain@stable
with:
target: "aarch64-apple-darwin"

- name: Install dev packages
run: |
python -m pip install wheel
Expand All @@ -147,7 +152,13 @@ jobs:
target: "x86_64-apple-darwin"
args: --release --strip --out dist -i python

- name: Install built wheel - x86_64
- name: Build wheels - aarch64
uses: PyO3/maturin-action@v1
with:
target: "aarch64-apple-darwin"
args: --release --strip --out dist -i python

- name: Install built wheel
run: |
cd dist
python -m pip install cykooz.resizer --find-links . --force-reinstall
Expand Down

0 comments on commit 2475c31

Please sign in to comment.