Skip to content

Commit

Permalink
fix: cicd.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cfanbo committed Jan 10, 2025
1 parent 4ca8172 commit 95a9668
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions basics/account-data/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/account_data_program.so
4 changes: 2 additions & 2 deletions basics/checking-accounts/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/checking_accounts_program.so
2 changes: 1 addition & 1 deletion basics/close-account/steel/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
4 changes: 2 additions & 2 deletions basics/create-account/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/create_account_program.so
4 changes: 2 additions & 2 deletions basics/favorites/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/favorites_native.so
4 changes: 2 additions & 2 deletions basics/hello-solana/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/hello_solana_program.so
4 changes: 2 additions & 2 deletions basics/pda-rent-payer/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/pda_rent_payer_program.so
4 changes: 2 additions & 2 deletions basics/processing-instructions/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/processing_instructions_program.so
4 changes: 2 additions & 2 deletions basics/program-derived-addresses/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program_derived_addresses_program.so
4 changes: 2 additions & 2 deletions basics/realloc/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/realloc_program.so
2 changes: 1 addition & 1 deletion basics/rent/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
4 changes: 2 additions & 2 deletions basics/repository-layout/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/repository_layout_program.so
4 changes: 2 additions & 2 deletions basics/transfer-sol/native/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/transfer_sol_program.so
2 changes: 1 addition & 1 deletion basics/transfer-sol/steel/cicd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# It also serves as a reference for the commands used for building & deploying Solana programs.
# Run this bad boy with "bash cicd.sh" or "./cicd.sh"

cargo build-sbf --manifest-path=./program/Cargo.toml --bpf-out-dir=./program/target/so
cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./program/target/so
solana program deploy ./program/target/so/program.so

0 comments on commit 95a9668

Please sign in to comment.