Page MenuHomePhabricator

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

Authored by Fabien on Tue, Jun 23, 13:18.



This diff improves readability of the 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.

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien created this revision.Tue, Jun 23, 13:18
Herald added a reviewer: Restricted Project. · View Herald TranscriptTue, Jun 23, 13:18
Fabien requested review of this revision.Tue, Jun 23, 13:18
deadalnix accepted this revision.Tue, Jun 23, 14:09
This revision is now accepted and ready to land.Tue, Jun 23, 14:09
Fabien updated this revision to Diff 21636.Tue, Jun 23, 14:24