Skip to content
Myr

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 file

Take it

Enable ARM cross-compilationsharkdpbefore adoption6fb5004

lines 1–8why, one step back
1#!/usr/bin/env bash
23set -ex45# Incorporate TARGET env var to the build and test process6cargo build --target "$TARGET" --verbose78# We cannot run arm executables on linux

Add ARM static binary #320 (arm-unknown-linux-musleabihf)Duncan Finneybefore adoption831f517

line 9why, one step back
9if [[ $TARGET != arm-unknown-linux-* ]]; then

Enable ARM cross-compilationsharkdpbefore adoption6fb5004

lines 10–11why, one step back
10 cargo test --target "$TARGET" --verbose
11fi