on v0.8.0 help sign in
bat/ci/script.bash
14 lines 447 B history raw
1#!/usr/bin/env bash
3set -ex
5# Incorporate TARGET env var to the build and test process
6cargo build --target "$TARGET" --verbose
8# We cannot run arm executables on linux
9if [[ $TARGET != arm-unknown-linux-gnueabihf ]] && [[ $TARGET != aarch64-unknown-linux-gnu ]]; then
10 cargo test --target "$TARGET" --verbose
12 # Run 'bat' on its own source code and the README
13 cargo run --target "$TARGET" -- src/main.rs README.md --paging=never
14fi