Skip to content
Myr

script.bash

This file

Path

ci/script.bash

11 lines · 273 bytes · Shell

Last changed by

Enable ARM cross-compilationsharkdpbefore adoption6fb5004

History of this file

Take it

Enable ARM cross-compilationsharkdpbefore adoption6fb5004

lines 1–11why, 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 linux9if [[ $TARGET != arm-unknown-linux-gnueabihf ]]; then10 cargo test --target "$TARGET" --verbose11fi