File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -102,26 +102,6 @@ jobs:
102102 sudo apt -y full-upgrade
103103 sudo apt -y install gcc-multilib
104104
105- # Install Rust
106- curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
107- export PATH="$HOME/.cargo/bin:$PATH"
108-
109- # ring 0.17 assembly build needs __ARM_ARCH set
110- export CFLAGS_aarch64_unknown_linux_gnu="-D__ARM_ARCH=8"
111- rustup component add llvm-tools-preview || true
112- rustup target add aarch64-unknown-linux-gnu
113- python3 -m venv .env
114- . .env/bin/activate && pip install -r requirements.txt
115- . .env/bin/activate && pip install patchelf
116- if [ "${{ inputs.publish }}" = 'true' ]; then
117- echo "~~~~ maturin publishing"
118- # pass '--debug' to avoid optimization, which breaks tls signature validation on this platform
119- . .env/bin/activate && maturin publish --target ${{ inputs.target }} --no-sdist --skip-existing --debug -u __token__ -p ${{ secrets.MATURIN_PASSWORD }}
120- else
121- echo "~~~~ maturin building"
122- . .env/bin/activate && maturin build --target ${{ inputs.target }}
123- fi
124-
125105 - name : Build and (Publish) armv7-unknown-linux-gnueabihf
126106 uses : addnab/docker-run-action@v3
127107 if : ${{ inputs.target == 'armv7-unknown-linux-gnueabihf' }}
You can’t perform that action at this time.
0 commit comments