Skip to content

Commit

Permalink
Merge pull request #2 from aeongdesu/main
Browse files Browse the repository at this point in the history
ci: update action packages, support linux aarch64
  • Loading branch information
tsunyoku authored Sep 22, 2023
2 parents b7793f6 + eb6f8e9 commit 8b7da57
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ jobs:
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Python setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
architecture: x64

- name: Rust setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
uses: dtolnay/rust-toolchain@stable

- name: Build wheels - x86_64
uses: PyO3/maturin-action@v1
Expand All @@ -44,7 +40,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
args: --release --universal2 --out dist

- name: Install built wheel - universal2
run: |
pip install akatsuki_pp_py --no-index --find-links dist --force-reinstall
Expand All @@ -64,7 +60,7 @@ jobs:
target: [x64, x86]
steps:
- name: Checkout project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Python setup
uses: actions/setup-python@v4
Expand All @@ -73,11 +69,7 @@ jobs:
architecture: ${{ matrix.target }}

- name: Rust setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
default: true
uses: dtolnay/rust-toolchain@stable

- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -101,11 +93,11 @@ jobs:
strategy:
matrix:
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11']
target: [x86_64, i686]
target: [x86_64, i686, aarch64]
steps:
- name: Checkout project
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Python setup
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -145,7 +137,7 @@ jobs:
name: wheels

- name: Python setup
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}

Expand Down

0 comments on commit 8b7da57

Please sign in to comment.