script.bash
This file
Path
ci/script.bash
11 lines · 273 bytes · Shell
Last changed by
Enable ARM cross-compilationsharkdpbefore adoption6fb5004
History of this fileTake it
123456789101112#!/usr/bin/env bash
set -ex
# Incorporate TARGET env var to the build and test processcargo build --target "$TARGET" --verbose
# We cannot run arm executables on linuxif [[ $TARGET != arm-unknown-linux-gnueabihf ]]; then cargo test --target "$TARGET" --verbosefi