ci: Limit downstream spl projects (#24328)
* ci: Limit downstream spl projects * Build governance mock addin program before governance
This commit is contained in:
parent
052c64b01a
commit
3d0d7dc8fc
|
@ -38,6 +38,19 @@ example_helloworld() {
|
||||||
|
|
||||||
spl() {
|
spl() {
|
||||||
(
|
(
|
||||||
|
# Mind the order!
|
||||||
|
PROGRAMS=(
|
||||||
|
token/program
|
||||||
|
token/program-2022
|
||||||
|
token/program-2022-test
|
||||||
|
associated-token-account/program
|
||||||
|
feature-proposal/program
|
||||||
|
governance/addin-mock/program
|
||||||
|
governance/program
|
||||||
|
memo/program
|
||||||
|
name-service/program
|
||||||
|
stake-pool/program
|
||||||
|
)
|
||||||
set -x
|
set -x
|
||||||
rm -rf spl
|
rm -rf spl
|
||||||
git clone https://github.com/solana-labs/solana-program-library.git spl
|
git clone https://github.com/solana-labs/solana-program-library.git spl
|
||||||
|
@ -47,8 +60,9 @@ spl() {
|
||||||
|
|
||||||
$cargo build
|
$cargo build
|
||||||
$cargo test
|
$cargo test
|
||||||
$cargo_build_bpf
|
for program in "${PROGRAMS[@]}"; do
|
||||||
$cargo_test_bpf
|
$cargo_test_bpf --manifest-path "$program"/Cargo.toml
|
||||||
|
done
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue