Skip to content

Commit

Permalink
ci: add stellar key
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan authored Sep 19, 2024
1 parent 8cdd43f commit eac929b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/deployer/init_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,18 +235,29 @@ alias make='sudo /opt/deployer/bin/deploy.sh'" >> $${DEPLOYR_HOME}/.bashrc

chmod +x /opt/deployer/root/keyutils/add_secret.sh
echo "## Aliases
alias add-secrets='/opt/deployer/root/keyutils/add_secret.sh'" >> /root/.bashrc
alias add-secrets='/opt/deployer/root/keyutils/add_secret.sh'
alias add-stellar-key='/opt/deployer/root/keyutils/add_stellar_key.sh'" >> /root/.bashrc

## Install solana
source "/root/.cargo/env"

export PATH=$${PATH}:/root/.cargo/bin
sh -c "$(curl -sSfL https://release.solana.com/v1.18.18/install)"

sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev
/root/.cargo/bin/cargo install --git https://github.com/coral-xyz/anchor avm --locked --force || true
avm install 0.30.1 ||
chmod 400 /tmp/user_data_log.out || true
avm install 0.30.1 || true

echo "export PATH=$${PATH}:/root/.local/share/solana/install/releases/1.18.18/solana-release/bin" >> /root/.bashrc



## Install multisig
cargo install --git https://github.com/icon-project/cw-plus.git --branch feat/test-multisig cwmultisig

## Install Stellar
wget https://github.com/stellar/stellar-cli/releases/download/v21.4.1/stellar-cli-21.4.1-x86_64-unknown-linux-gnu.tar.gz
tar -xvzf stellar-cli-21.4.1-x86_64-unknown-linux-gnu.tar.gz
mv stellar /usr/local/bin/stellar

chmod 400 /tmp/user_data_log.out || true

0 comments on commit eac929b

Please sign in to comment.