Skip to content

Commit 274a792

Browse files
committed
ci: try to fix s3 feature bindgen issue in armv7.
1 parent 56c7046 commit 274a792

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release-python.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
- uses: actions/setup-python@v5
4343
with:
4444
python-version: ${{ env.PYTHON_VERSION }}
45-
- name: Bindgen for ARMv7
45+
- name: For ARMv7
4646
if: ${{ matrix.platform.target == 'armv7' }}
47-
run: cargo install --force --locked bindgen-cli
47+
run: apt-get install gcc-multilib
4848
- name: Build wheels
4949
uses: PyO3/maturin-action@v1
5050
with:
@@ -76,6 +76,9 @@ jobs:
7676
- uses: actions/setup-python@v5
7777
with:
7878
python-version: ${{ env.PYTHON_VERSION }}
79+
- name: For ARMv7
80+
if: ${{ matrix.platform.target == 'armv7' }}
81+
run: apt-get install gcc-multilib
7982
- name: Build wheels
8083
uses: PyO3/maturin-action@v1
8184
with:

py-hftbacktest/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,4 @@ live = ["hftbacktest/live"]
1414
[dependencies]
1515
pyo3 = { version = "0.25", features = ["extension-module"] }
1616
hftbacktest = { path = "../hftbacktest", default-features = false, features = ["backtest", "s3"] }
17-
hftbacktest-derive = { path = "../hftbacktest-derive" }
18-
19-
[target.'cfg(target_arch = "arm")'.dependencies]
20-
hftbacktest = { path = "../hftbacktest", default-features = false, features = ["backtest"] }
17+
hftbacktest-derive = { path = "../hftbacktest-derive" }

0 commit comments

Comments
 (0)