From a1d2d6f1503dee2ae3eb0288ec1e2db402d7da4c Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Sat, 9 Dec 2023 01:50:24 +0100 Subject: [PATCH] ci: Test anchor-spl during downstream build (#34368) * ci: Test anchor-spl during downstream build * Also test anchor-client * Update scripts/build-downstream-anchor-projects.sh Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com> * Specify features to use in build-sbf --------- Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com> --- scripts/build-downstream-anchor-projects.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build-downstream-anchor-projects.sh b/scripts/build-downstream-anchor-projects.sh index 06b5411c196d17..de2860573ee145 100755 --- a/scripts/build-downstream-anchor-projects.sh +++ b/scripts/build-downstream-anchor-projects.sh @@ -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)