Page MenuHomePhabricator

[CI] Clear the artifacts directory before the build
ClosedPublic

Authored by Fabien on Sep 2 2020, 14:02.

Details

Reviewers
jasonbcox
Group Reviewers
Restricted Project
Commits
rABC528e5ac24ac5: [CI] Clear the artifacts directory before the build
Summary

The artifact directory is currently cleared after the build, just before
the artifacts are copied.
This will be a problem if we want to place files to the artifact
directory at build time, for example by using an install target.
This diffs clears the artifact directory right before starting the
build.

Test Plan

Run any build, and check the artifacts are copied as previously.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ci_remove_artifacts_early
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12549
Build 25217: Build Diffbuild-clang-tidy · build-without-wallet · build-clang-10 · build-diff
Build 25216: arc lint + arc unit