script.bash
This file
Path
ci/script.bash
11 lines · 265 bytes · Shell
Last changed by
Add ARM static binary #320 (arm-unknown-linux-musleabihf)Duncan Finneybefore adoption831f517
History of this fileTake it
Enable ARM cross-compilationsharkdpbefore adoption6fb5004
lines 1–8why, one step back1#!/usr/bin/env bash23set -ex45# Incorporate TARGET env var to the build and test process6cargo build --target "$TARGET" --verbose78# We cannot run arm executables on linuxAdd ARM static binary #320 (arm-unknown-linux-musleabihf)Duncan Finneybefore adoption831f517
line 9why, one step back9if [[ $TARGET != arm-unknown-linux-* ]]; thenEnable ARM cross-compilationsharkdpbefore adoption6fb5004
lines 10–11why, one step back10 cargo test --target "$TARGET" --verbose11fi