mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7764 from ethereum/ext-test-compile-split
[circleci] Splits out compilation only job for external tests
This commit is contained in:
commit
78e4197cbc
@ -601,7 +601,22 @@ jobs:
|
|||||||
npm --version
|
npm --version
|
||||||
test/solcjsTests.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
|
test/solcjsTests.sh /tmp/workspace/soljson.js $(cat /tmp/workspace/version.txt)
|
||||||
|
|
||||||
t_ems_external_gnosis:
|
t_ems_compile_ext_gnosis:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:10
|
||||||
|
environment:
|
||||||
|
TERM: xterm
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: /tmp/workspace
|
||||||
|
- run:
|
||||||
|
name: External GnosisSafe compilation
|
||||||
|
command: |
|
||||||
|
export COMPILE_ONLY=1
|
||||||
|
test/externalTests/gnosis.sh /tmp/workspace/soljson.js || test/externalTests/gnosis.sh /tmp/workspace/soljson.js
|
||||||
|
|
||||||
|
t_ems_test_ext_gnosis:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10
|
- image: circleci/node:10
|
||||||
environment:
|
environment:
|
||||||
@ -617,7 +632,22 @@ jobs:
|
|||||||
- run: *gitter_notify_failure
|
- run: *gitter_notify_failure
|
||||||
- run: *gitter_notify_success
|
- run: *gitter_notify_success
|
||||||
|
|
||||||
t_ems_external_zeppelin:
|
t_ems_compile_ext_zeppelin:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:10
|
||||||
|
environment:
|
||||||
|
TERM: xterm
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: /tmp/workspace
|
||||||
|
- run:
|
||||||
|
name: External Zeppelin compilation
|
||||||
|
command: |
|
||||||
|
export COMPILE_ONLY=1
|
||||||
|
test/externalTests/zeppelin.sh /tmp/workspace/soljson.js || test/externalTests/zeppelin.sh /tmp/workspace/soljson.js
|
||||||
|
|
||||||
|
t_ems_test_ext_zeppelin:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10
|
- image: circleci/node:10
|
||||||
environment:
|
environment:
|
||||||
@ -633,7 +663,26 @@ jobs:
|
|||||||
- run: *gitter_notify_failure
|
- run: *gitter_notify_failure
|
||||||
- run: *gitter_notify_success
|
- run: *gitter_notify_success
|
||||||
|
|
||||||
t_ems_external_colony:
|
t_ems_compile_ext_colony:
|
||||||
|
docker:
|
||||||
|
- image: circleci/node:10
|
||||||
|
environment:
|
||||||
|
TERM: xterm
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- attach_workspace:
|
||||||
|
at: /tmp/workspace
|
||||||
|
- run:
|
||||||
|
name: Install test dependencies
|
||||||
|
command: |
|
||||||
|
sudo apt-get -qy install lsof
|
||||||
|
- run:
|
||||||
|
name: External ColonyNetworks compilation
|
||||||
|
command: |
|
||||||
|
export COMPILE_ONLY=1
|
||||||
|
test/externalTests/colony.sh /tmp/workspace/soljson.js || test/externalTests/colony.sh /tmp/workspace/soljson.js
|
||||||
|
|
||||||
|
t_ems_test_ext_colony:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:10
|
- image: circleci/node:10
|
||||||
environment:
|
environment:
|
||||||
@ -697,6 +746,9 @@ workflows:
|
|||||||
# Emscripten build and selected tests
|
# Emscripten build and selected tests
|
||||||
- b_ems: *workflow_trigger_on_tags
|
- b_ems: *workflow_trigger_on_tags
|
||||||
- t_ems_solcjs: *workflow_emscripten
|
- t_ems_solcjs: *workflow_emscripten
|
||||||
|
- t_ems_compile_ext_colony: *workflow_emscripten
|
||||||
|
- t_ems_compile_ext_gnosis: *workflow_emscripten
|
||||||
|
- t_ems_compile_ext_zeppelin: *workflow_emscripten
|
||||||
|
|
||||||
nightly:
|
nightly:
|
||||||
|
|
||||||
@ -710,12 +762,6 @@ workflows:
|
|||||||
- develop_060
|
- develop_060
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Emscripten builds and external tests
|
|
||||||
- b_ems: *workflow_trigger_on_tags
|
|
||||||
- t_ems_external_zeppelin: *workflow_emscripten
|
|
||||||
- t_ems_external_gnosis: *workflow_emscripten
|
|
||||||
- t_ems_external_colony: *workflow_emscripten
|
|
||||||
|
|
||||||
# OSSFUZZ builds and (regression) tests
|
# OSSFUZZ builds and (regression) tests
|
||||||
- b_ubu_ossfuzz: *workflow_trigger_on_tags
|
- b_ubu_ossfuzz: *workflow_trigger_on_tags
|
||||||
- t_ubu_ossfuzz: *workflow_ubuntu1904_ossfuzz
|
- t_ubu_ossfuzz: *workflow_ubuntu1904_ossfuzz
|
||||||
|
@ -216,8 +216,13 @@ function run_test
|
|||||||
printLog "Running compile function..."
|
printLog "Running compile function..."
|
||||||
$compile_fn
|
$compile_fn
|
||||||
verify_compiler_version "$SOLCVERSION"
|
verify_compiler_version "$SOLCVERSION"
|
||||||
printLog "Running test function..."
|
|
||||||
$test_fn
|
if [[ "$COMPILE_ONLY" == 1 ]]; then
|
||||||
|
printLog "Skipping test function..."
|
||||||
|
else
|
||||||
|
printLog "Running test function..."
|
||||||
|
$test_fn
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user