Skip to content

Commit

Permalink
ci: Test anchor-spl during downstream build (#34368)
Browse files Browse the repository at this point in the history
* ci: Test anchor-spl during downstream build

* Also test anchor-client

* Update scripts/build-downstream-anchor-projects.sh

Co-authored-by: acheron <[email protected]>

* Specify features to use in build-sbf

---------

Co-authored-by: acheron <[email protected]>
  • Loading branch information
joncinque and acheroncrypto authored Dec 9, 2023
1 parent e8945d2 commit a1d2d6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-downstream-anchor-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ anchor() {
patch_crates_io_solana Cargo.toml "$solana_dir"

$cargo test
(cd spl && $cargo_build_sbf --features dex metadata stake)
(cd client && $cargo test --all-features)

anchor_dir=$PWD
anchor_ver=$(readCargoVariable version "$anchor_dir"/lang/Cargo.toml)
Expand Down

0 comments on commit a1d2d6f

Please sign in to comment.