ci: Fixup downstream build for token-cli (#24403)
This commit is contained in:
parent
7c45d94ccc
commit
4fda3a3ceb
|
@ -58,11 +58,15 @@ spl() {
|
||||||
|
|
||||||
./patch.crates-io.sh "$solana_dir"
|
./patch.crates-io.sh "$solana_dir"
|
||||||
|
|
||||||
$cargo build
|
|
||||||
$cargo test
|
|
||||||
for program in "${PROGRAMS[@]}"; do
|
for program in "${PROGRAMS[@]}"; do
|
||||||
$cargo_test_bpf --manifest-path "$program"/Cargo.toml
|
$cargo_test_bpf --manifest-path "$program"/Cargo.toml
|
||||||
done
|
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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue