Skip to content

Commit 0055b10

Browse files
committed
feat: linux arm native runner
1 parent 19b886d commit 0055b10

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

.github/workflows/CI.yml

+26-30
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
4646
- name: Build wheels for x86_64
4747
if: matrix.target == 'x86_64'
48-
uses: PyO3/maturin-action@v1
48+
uses: PyO3/maturin-action@v1.46.0
4949
with:
5050
target: ${{ matrix.target }}
5151
args: --release --out dist --find-interpreter
@@ -103,35 +103,31 @@ jobs:
103103
name: wheels
104104
path: dist
105105

106-
# linux-arm:
107-
# runs-on: ubuntu-latest
108-
# strategy:
109-
# matrix:
110-
# target: [aarch64]
111-
# steps:
112-
# - uses: actions/checkout@v4
113-
# - uses: actions/setup-python@v4
114-
# with:
115-
# python-version: "3.10"
116-
# - name: Setup QEMU
117-
# uses: docker/setup-qemu-action@v1
118-
# - name: Build wheels
119-
# uses: PyO3/maturin-action@v1
120-
# with:
121-
# target: ${{ matrix.target }}
122-
# args: --release --out dist --find-interpreter
123-
# sccache: 'true'
124-
# container: ghcr.io/rust-cross/manylinux_2_28-cross:aarch64
125-
# rust-toolchain: stable-aarch64-unknown-linux-gnu
126-
# env:
127-
# DEPS_PATH: ${{ github.workspace }}/dependencies
128-
# TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
129-
# TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
130-
# - name: Upload wheels
131-
# uses: actions/upload-artifact@v3
132-
# with:
133-
# name: wheels
134-
# path: dist
106+
linux-arm:
107+
runs-on: ubuntu-latest
108+
strategy:
109+
matrix:
110+
target: [aarch64, armv7l]
111+
steps:
112+
- uses: actions/checkout@v4
113+
- uses: actions/setup-python@v4
114+
with:
115+
python-version: "3.10"
116+
- name: Build wheels
117+
uses: PyO3/[email protected]
118+
with:
119+
target: ${{ matrix.target }}
120+
args: --release --out dist --find-interpreter
121+
rust-toolchain: stable-aarch64-unknown-linux-gnu
122+
env:
123+
DEPS_PATH: ${{ github.workspace }}/dependencies
124+
TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include
125+
TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib
126+
- name: Upload wheels
127+
uses: actions/upload-artifact@v3
128+
with:
129+
name: wheels
130+
path: dist
135131

136132

137133
windows:

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polars_talib"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
edition = "2021"
55

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

0 commit comments

Comments
 (0)