solana-with-rpc-optimizations/ci/test-stable.sh

12 lines
180 B
Bash
Executable File

#!/bin/bash -e
cd $(dirname $0)/..
source $HOME/.cargo/env
rustup component add rustfmt-preview
cargo fmt -- --write-mode=diff
cargo build --verbose
cargo test --verbose
exit 0