Skip to content

Commit

Permalink
ci: Fixup downstream build for token-cli (solana-labs#24403)
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque authored Apr 16, 2022
1 parent 7c45d94 commit 4fda3a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/build-downstream-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}

Expand Down

0 comments on commit 4fda3a3

Please sign in to comment.