Skip to content

Commit

Permalink
Merge pull request #95 from ConsenSys/ci-predownload-native-compilers
Browse files Browse the repository at this point in the history
Predownload native compilers in CI
  • Loading branch information
blitz-1306 committed Feb 11, 2022
2 parents a666104 + 2fb850f commit adba696
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ steps:
environment:
CODECOV_TOKEN:
from_secret: CODECOV_TOKEN
SOL_AST_COMPILER_CACHE: /.compiler_cache
commands:
# pre-download native compilers
- apt-get -qq update && apt-get -qq install jq
- ./docker/download.sh 'linux-amd64'
# remove list and one rarely used compiler to still test downloading on-demand
- rm /.compiler_cache/linux-amd64/list.json
- rm /.compiler_cache/linux-amd64/solc-linux-amd64-v0.5.17+commit.d19bba13
# perform testing
- npm install --unsafe-perm
- npm link --unsafe-perm
- npm run lint
Expand Down

0 comments on commit adba696

Please sign in to comment.