Install solana cli tools in CI
This commit is contained in:
parent
94ae65136f
commit
4616c2eb0f
|
@ -11,6 +11,8 @@ notifications:
|
|||
cache:
|
||||
directories:
|
||||
- "~/.cache"
|
||||
- "~/.config/share/solana"
|
||||
- "~/.local/share/solana"
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
@ -18,6 +20,7 @@ services:
|
|||
env:
|
||||
global:
|
||||
- RUST_BACKTRACE=1
|
||||
- SOLANA_VERSION=v1.4.2
|
||||
|
||||
jobs:
|
||||
include:
|
||||
|
|
|
@ -18,3 +18,9 @@ clang-7 --version
|
|||
nvm install node
|
||||
npm install -g typescript
|
||||
node --version
|
||||
|
||||
if [[ -n $SOLANA_VERSION ]]; then
|
||||
sh -c "$(curl -sSfL https://release.solana.com/$SOLANA_VERSION/install)"
|
||||
fi
|
||||
PATH="~/.local/share/solana/install/active_release/bin:$PATH"
|
||||
solana --version
|
||||
|
|
Loading…
Reference in New Issue