@@ -42,16 +42,20 @@ jobs:
4242 - uses : actions/setup-python@v5
4343 with :
4444 python-version : ${{ env.PYTHON_VERSION }}
45- - name : For ARMv7
46- if : ${{ matrix.platform.target == 'armv7' }}
47- run : sudo apt-get install -y gcc-multilib g++-multilib
4845 - name : Build wheels
4946 uses : PyO3/maturin-action@v1
5047 with :
5148 target : ${{ matrix.platform.target }}
5249 rust-toolchain : ${{ env.RUST_VERSION }}
5350 args : --manifest-path=py-hftbacktest/Cargo.toml --release --out dist --find-interpreter
5451 manylinux : 2_28
52+ before-script-linux : |
53+ case "${{ matrix.platform.target }}" in
54+ "armv7")
55+ sudo apt-get update
56+ sudo apt-get install -y gcc-multilib
57+ ;;
58+ esac
5559 - name : Upload wheels
5660 uses : actions/upload-artifact@v4
5761 with :
@@ -76,16 +80,20 @@ jobs:
7680 - uses : actions/setup-python@v5
7781 with :
7882 python-version : ${{ env.PYTHON_VERSION }}
79- - name : For ARMv7
80- if : ${{ matrix.platform.target == 'armv7' }}
81- run : sudo apt-get install -y gcc-multilib g++-multilib
8283 - name : Build wheels
8384 uses : PyO3/maturin-action@v1
8485 with :
8586 target : ${{ matrix.platform.target }}
8687 rust-toolchain : ${{ env.RUST_VERSION }}
8788 args : --manifest-path=py-hftbacktest/Cargo.toml --release --out dist --find-interpreter
8889 manylinux : musllinux_1_2
90+ before-script-linux : |
91+ case "${{ matrix.platform.target }}" in
92+ "armv7")
93+ sudo apt-get update
94+ sudo apt-get install -y gcc-multilib
95+ ;;
96+ esac
8997 - name : Upload wheels
9098 uses : actions/upload-artifact@v4
9199 with :
0 commit comments