Install solana cli tools in CI

This commit is contained in:
Michael Vines 2020-10-23 14:26:26 -07:00
parent 94ae65136f
commit 4616c2eb0f
2 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -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