mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Switch most external tests to use native compiler built by b_ubu_static
This commit is contained in:
parent
f5830c4516
commit
3649103e42
@ -396,6 +396,11 @@ defaults:
|
|||||||
requires:
|
requires:
|
||||||
- b_ubu_release
|
- b_ubu_release
|
||||||
|
|
||||||
|
- workflow_ubuntu2004_static: &workflow_ubuntu2004_static
|
||||||
|
<<: *workflow_trigger_on_tags
|
||||||
|
requires:
|
||||||
|
- b_ubu_static
|
||||||
|
|
||||||
- workflow_archlinux: &workflow_archlinux
|
- workflow_archlinux: &workflow_archlinux
|
||||||
<<: *workflow_trigger_on_tags
|
<<: *workflow_trigger_on_tags
|
||||||
requires:
|
requires:
|
||||||
@ -666,10 +671,11 @@ jobs:
|
|||||||
MAKEFLAGS: -j 10
|
MAKEFLAGS: -j 10
|
||||||
|
|
||||||
b_ubu_static:
|
b_ubu_static:
|
||||||
# Runs 2x faster on large and 3x on xlarge but no other jobs depend on it we can live with medium.
|
# On large runs 2x faster than on medium. 3x on xlarge.
|
||||||
<<: *base_ubuntu2004
|
<<: *base_ubuntu2004_xlarge
|
||||||
environment:
|
environment:
|
||||||
MAKEFLAGS: -j 5
|
TERM: xterm
|
||||||
|
MAKEFLAGS: -j 10
|
||||||
CMAKE_OPTIONS: -DCMAKE_BUILD_TYPE=Release -DUSE_Z3_DLOPEN=ON -DUSE_CVC4=OFF -DSOLC_STATIC_STDLIBS=ON
|
CMAKE_OPTIONS: -DCMAKE_BUILD_TYPE=Release -DUSE_Z3_DLOPEN=ON -DUSE_CVC4=OFF -DSOLC_STATIC_STDLIBS=ON
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -678,6 +684,7 @@ jobs:
|
|||||||
name: strip binary
|
name: strip binary
|
||||||
command: strip build/solc/solc
|
command: strip build/solc/solc
|
||||||
- store_artifacts: *artifacts_solc
|
- store_artifacts: *artifacts_solc
|
||||||
|
- persist_to_workspace: *artifacts_executables
|
||||||
- gitter_notify_failure_unless_pr
|
- gitter_notify_failure_unless_pr
|
||||||
|
|
||||||
b_ubu_codecov:
|
b_ubu_codecov:
|
||||||
@ -1303,10 +1310,10 @@ workflows:
|
|||||||
compile_only: 1
|
compile_only: 1
|
||||||
nodejs_version: '14'
|
nodejs_version: '14'
|
||||||
- t_ems_ext:
|
- t_ems_ext:
|
||||||
<<: *workflow_emscripten
|
<<: *workflow_ubuntu2004_static
|
||||||
name: t_ems_compile_ext_gnosis
|
name: t_native_compile_ext_gnosis
|
||||||
project: gnosis
|
project: gnosis
|
||||||
binary_type: solcjs
|
binary_type: native
|
||||||
compile_only: 1
|
compile_only: 1
|
||||||
nodejs_version: '14'
|
nodejs_version: '14'
|
||||||
|
|
||||||
@ -1314,31 +1321,31 @@ workflows:
|
|||||||
# and there are also other less frequent problems. See https://github.com/gnosis/safe-contracts/issues/216.
|
# and there are also other less frequent problems. See https://github.com/gnosis/safe-contracts/issues/216.
|
||||||
#- t_ems_ext:
|
#- t_ems_ext:
|
||||||
# <<: *workflow_emscripten
|
# <<: *workflow_emscripten
|
||||||
# name: t_ems_test_ext_gnosis
|
# name: t_native_test_ext_gnosis
|
||||||
# project: gnosis
|
# project: gnosis
|
||||||
# binary_type: solcjs
|
# binary_type: native
|
||||||
# # NOTE: Tests do not start on node.js 14 ("ganache-cli exited early with code 1").
|
# # NOTE: Tests do not start on node.js 14 ("ganache-cli exited early with code 1").
|
||||||
# nodejs_version: '12'
|
# nodejs_version: '12'
|
||||||
- t_ems_ext:
|
- t_ems_ext:
|
||||||
<<: *workflow_emscripten
|
<<: *workflow_ubuntu2004_static
|
||||||
name: t_ems_test_ext_gnosis_v2
|
name: t_native_test_ext_gnosis_v2
|
||||||
project: gnosis-v2
|
project: gnosis-v2
|
||||||
binary_type: solcjs
|
binary_type: native
|
||||||
# NOTE: Tests do not start on node.js 14 ("ganache-cli exited early with code 1").
|
# NOTE: Tests do not start on node.js 14 ("ganache-cli exited early with code 1").
|
||||||
nodejs_version: '12'
|
nodejs_version: '12'
|
||||||
- t_ems_ext:
|
- t_ems_ext:
|
||||||
<<: *workflow_emscripten
|
<<: *workflow_ubuntu2004_static
|
||||||
name: t_ems_test_ext_zeppelin
|
name: t_native_test_ext_zeppelin
|
||||||
project: zeppelin
|
project: zeppelin
|
||||||
binary_type: solcjs
|
binary_type: native
|
||||||
# NOTE: Tests crash on nodejs 17: "Error: error:0308010C:digital envelope routines::unsupported"
|
# NOTE: Tests crash on nodejs 17: "Error: error:0308010C:digital envelope routines::unsupported"
|
||||||
nodejs_version: '16'
|
nodejs_version: '16'
|
||||||
resource_class: large
|
resource_class: large
|
||||||
- t_ems_ext:
|
- t_ems_ext:
|
||||||
<<: *workflow_emscripten
|
<<: *workflow_ubuntu2004_static
|
||||||
name: t_ems_test_ext_ens
|
name: t_native_test_ext_ens
|
||||||
project: ens
|
project: ens
|
||||||
binary_type: solcjs
|
binary_type: native
|
||||||
# NOTE: One of the dependencies (fsevents) fails to build its native extension on node.js 12+.
|
# NOTE: One of the dependencies (fsevents) fails to build its native extension on node.js 12+.
|
||||||
nodejs_version: '10'
|
nodejs_version: '10'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user