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: cache:
directories: directories:
- "~/.cache" - "~/.cache"
- "~/.config/share/solana"
- "~/.local/share/solana"
services: services:
- docker - docker
@ -18,6 +20,7 @@ services:
env: env:
global: global:
- RUST_BACKTRACE=1 - RUST_BACKTRACE=1
- SOLANA_VERSION=v1.4.2
jobs: jobs:
include: include:

View File

@ -18,3 +18,9 @@ clang-7 --version
nvm install node nvm install node
npm install -g typescript npm install -g typescript
node --version 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