Skip to content

Commit

Permalink
feat(cd): add arm64 build for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vvilskyi-r7 committed Mar 24, 2024
1 parent c06cbf6 commit f0bcfc9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
os:
- ubuntu-latest
- macos-latest
Expand All @@ -37,6 +37,7 @@ jobs:
run: |
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
rustup target add aarch64-unknown-linux-gnu
- name: Publish Package
uses: PyO3/maturin-action@v1
with:
Expand All @@ -60,4 +61,12 @@ jobs:
command: publish
args: --username=__token__ --interpreter=python${{ matrix.python-version }} --target=aarch64-apple-darwin --no-sdist
env:
MATURIN_PASSWORD: ${{ secrets.pypi_password }}
MATURIN_PASSWORD: ${{ secrets.pypi_password }}
- name: Publish Linux (arm64) Package
if: matrix.os == 'ubuntu-latest'
uses: PyO3/maturin-action@v1
with:
command: publish
args: --username=__token__ --interpreter=python${{ matrix.python-version }} --target=aarch64-unknown-linux-gnu --no-sdist
env:
MATURIN_PASSWORD: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pydomainextractor"
version = "0.13.5"
version = "0.14.0"
authors = ["Gal Ben David <[email protected]>"]
edition = "2021"
description = "A blazingly fast domain extraction library written in Rust"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pydomainextractor"
version = "0.13.5"
version = "0.14.0"
description = "A blazingly fast domain extraction library written in Rust"
authors = [
{email = "[email protected]"},
Expand Down

0 comments on commit f0bcfc9

Please sign in to comment.