Skip to content

Commit

Permalink
feat: linux arm native runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvictor committed Jan 24, 2025
1 parent 19b886d commit 5c81014
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 31 deletions.
57 changes: 27 additions & 30 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
- name: Build wheels for x86_64
if: matrix.target == 'x86_64'
uses: PyO3/maturin-action@v1
uses: PyO3/maturin-action@v1.46.0
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
Expand Down Expand Up @@ -103,35 +103,32 @@ jobs:
name: wheels
path: dist

# linux-arm:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# target: [aarch64]
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v4
# with:
# python-version: "3.10"
# - name: Setup QEMU
# uses: docker/setup-qemu-action@v1
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.target }}
# args: --release --out dist --find-interpreter
# sccache: 'true'
# container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
# rust-toolchain: stable-aarch64-unknown-linux-gnu
# env:
# DEPS_PATH: ${{ github.workspace }}/dependencies
# TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
# TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
# - name: Upload wheels
# uses: actions/upload-artifact@v3
# with:
# name: wheels
# path: dist
linux-arm:
runs-on: ubuntu-latest
strategy:
matrix:
target: [aarch64, armv7l]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build wheels
uses: PyO3/[email protected]
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
rust-toolchain: stable-aarch64-unknown-linux-gnu
env:
DEPS_PATH: ${{ github.workspace }}/dependencies
TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist


windows:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars_talib"
version = "0.1.4"
version = "0.1.5"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 5c81014

Please sign in to comment.