ci: Fixup downstream build for token-cli (#24403)

This commit is contained in:
Jon Cinque
2022-04-16 02:46:07 +02:00
committed by GitHub
parent 7c45d94ccc
commit 4fda3a3ceb

View File

@ -58,11 +58,15 @@ spl() {
./patch.crates-io.sh "$solana_dir"
$cargo build
$cargo test
for program in "${PROGRAMS[@]}"; do
$cargo_test_bpf --manifest-path "$program"/Cargo.toml
done
# TODO better: `build.rs` for spl-token-cli doesn't seem to properly build
# the required programs to run the tests, so instead we run the tests
# after we know programs have been built
$cargo build
$cargo test
)
}