Skip to content

Commit b3d83d9

Browse files
authored
Merge pull request #598 from ethereum/solc-js-ext-test
Run solc-js test from main repo in CI
2 parents 3c2ed50 + ea3f446 commit b3d83d9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ workflows:
1313
- hardhat-sample-project
1414
- truffle-sample-project
1515
- cli-smoke-test
16+
- solidity-solcjs-ext-test
1617

1718
version: 2.1
1819

@@ -341,6 +342,17 @@ jobs:
341342
npx solcjs C.sol --bin
342343
[[ -f C_sol_C.bin ]]
343344
345+
solidity-solcjs-ext-test:
346+
docker:
347+
- image: circleci/node
348+
steps:
349+
- show-npm-version
350+
- checkout:
351+
path: solc-js/
352+
- run: git clone --depth 1 "https://github.com/ethereum/solidity" solidity/
353+
- run: cd solidity/ && curl "https://binaries.soliditylang.org/bin/soljson-nightly.js" --location --output soljson.js
354+
- run: cd solidity/ && test/externalTests/solc-js/solc-js.sh "$(realpath soljson.js)" "$(scripts/get_version.sh)" "$(realpath ../solc-js/)"
355+
344356
node-v10:
345357
<<: *node-base
346358
docker:

0 commit comments

Comments
 (0)