Install solana cli tools in CI
This commit is contained in:
parent
94ae65136f
commit
4616c2eb0f
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue