Skip to content

Commit e6ccbcb

Browse files
authored
Merge pull request #26 from Intsights/viktor-fix-plt-1179-cd-add-arm64-linux-build
Task PLT-1179: Deployment | add arm64 build for Linux
2 parents c06cbf6 + 3d56c01 commit e6ccbcb

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
python-version:
13-
- '3.7'
14-
- '3.8'
15-
- '3.9'
16-
- '3.10'
17-
- '3.11'
13+
- "3.7"
14+
- "3.8"
15+
- "3.9"
16+
- "3.10"
17+
- "3.11"
1818
os:
1919
- ubuntu-latest
2020
- macos-latest
@@ -37,6 +37,7 @@ jobs:
3737
run: |
3838
rustup target add x86_64-apple-darwin
3939
rustup target add aarch64-apple-darwin
40+
rustup target add aarch64-unknown-linux-gnu
4041
- name: Publish Package
4142
uses: PyO3/maturin-action@v1
4243
with:
@@ -60,4 +61,12 @@ jobs:
6061
command: publish
6162
args: --username=__token__ --interpreter=python${{ matrix.python-version }} --target=aarch64-apple-darwin --no-sdist
6263
env:
63-
MATURIN_PASSWORD: ${{ secrets.pypi_password }}
64+
MATURIN_PASSWORD: ${{ secrets.pypi_password }}
65+
- name: Publish Linux (arm64) Package
66+
if: matrix.os == 'ubuntu-latest'
67+
uses: PyO3/maturin-action@v1
68+
with:
69+
command: publish
70+
args: --username=__token__ --interpreter=python${{ matrix.python-version }} --target=aarch64-unknown-linux-gnu --no-sdist
71+
env:
72+
MATURIN_PASSWORD: ${{ secrets.pypi_password }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pydomainextractor"
3-
version = "0.13.5"
3+
version = "0.13.6"
44
authors = ["Gal Ben David <gal@intsights.com>"]
55
edition = "2021"
66
description = "A blazingly fast domain extraction library written in Rust"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pydomainextractor"
3-
version = "0.13.5"
3+
version = "0.13.6"
44
description = "A blazingly fast domain extraction library written in Rust"
55
authors = [
66
{email = "gal@intsights.com"},

0 commit comments

Comments
 (0)