HomePhabricator

[CI] Wrap the build_cmake.sh environment and script path into a function

Description

[CI] Wrap the build_cmake.sh environment and script path into a function

Summary:
This diff improves readability of the build_cmake.sh call by wrapping it
into a function that extend the cmake flags array and hide the path. It
also makes consistent use of newlines and put options in the first
positions to improve readability. This does not change the behavior.

Depends on D6677.

Test Plan: Run any CI build plan that uses the build_with_cmake function.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6678

Details

Provenance
FabienAuthored on Jun 23 2020, 13:16
FabienPushed on Jun 23 2020, 15:36
Reviewer
Restricted Project
Differential Revision
D6678: [CI] Wrap the build_cmake.sh environment and script path into a function
Parents
rABC6884f60c355e: [CI] Add an option to select the compiler to build_cmake.sh
Branches
Unknown
Tags
Unknown