Merge pull request #9937 from ethereum/staticReleaseBuild

Static release build.
This commit is contained in:
chriseth 2020-10-19 10:41:49 +02:00 committed by GitHub
commit 6c9db334c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -459,6 +459,19 @@ jobs:
FORCE_RELEASE: ON FORCE_RELEASE: ON
MAKEFLAGS: -j 10 MAKEFLAGS: -j 10
b_ubu_static:
<<: *build_ubuntu2004
environment:
MAKEFLAGS: -j 10
CMAKE_OPTIONS: -DCMAKE_BUILD_TYPE=Release -DSOLC_LINK_STATIC=1 -DUSE_CVC4=OFF -DUSE_Z3=OFF
steps:
- checkout
- run: *run_build
- run:
name: strip binary
command: strip build/solc/solc
- store_artifacts: *artifacts_solc
b_ubu18: &build_ubuntu1804 b_ubu18: &build_ubuntu1804
docker: docker:
- image: << pipeline.parameters.ubuntu-1804-docker-image >> - image: << pipeline.parameters.ubuntu-1804-docker-image >>
@ -1061,6 +1074,9 @@ workflows:
- b_archlinux: *workflow_trigger_on_tags - b_archlinux: *workflow_trigger_on_tags
- t_archlinux_soltest: *workflow_archlinux - t_archlinux_soltest: *workflow_archlinux
# Static build
- b_ubu_static: *workflow_trigger_on_tags
# Ubuntu build and tests # Ubuntu build and tests
- b_ubu: *workflow_trigger_on_tags - b_ubu: *workflow_trigger_on_tags
- b_ubu18: *workflow_trigger_on_tags - b_ubu18: *workflow_trigger_on_tags