Add support to the arm-unknown-linux-gnueabihf platform

This commit is contained in:
Peltoche
2018-12-17 13:32:35 +01:00
committed by Pierre Peltier
parent f162a677dd
commit 072757b33d
4 changed files with 53 additions and 25 deletions

11
ci/script.bash Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -ex
# Incorporate TARGET env var to the build and test process
cargo build --target "$TARGET" --verbose
# We cannot run arm executables on linux
if [[ $TARGET != arm-unknown-linux-* ]]; then
cargo test --target "$TARGET" --verbose
fi