script.bash
This file
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-* ]]; then cargo test --target "$TARGET" --verbosefi