ci: create the installers inside the build stages
VoidBuildSystem CI / 4B · Windows package (debug) (push) Successful in 18s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 5m34s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 6m18s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Failing after 3m27s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Skipped
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (debug) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m46s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 2m57s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 19s
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Successful in 30s
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 4B · Windows package (debug) (push) Successful in 18s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 5m34s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 6m18s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Failing after 3m27s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Skipped
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (debug) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 4A · Linux package (sanitizers) (push) Skipped
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Skipped
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m46s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 2m57s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 19s
VoidBuildSystem CI / 4B · Windows package (relwithdebinfo) (push) Successful in 30s
VoidBuildSystem CI / 5 · Release (push) Skipped
Move the VBS installer generation into the Linux and Windows build jobs (as a non-blocking step for the RelWithDebInfo variant) instead of separate jobs that re-download artifacts, and keep the release downloading those artifacts when available. Also stop wiping the native provider build directory: it is keyed by the input hash and backed by a content-addressed state store, so stale objects are harmless, while deleting it can remove the materialized snapshot tree another stage is compiling from (the missing-source failures in the installer jobs).
This commit is contained in:
1 parent
20b0324d17
commit
ed6b5dfdd3
2 files changed
+118
-163
No files matched your search
@@ -1037,7 +1037,10 @@ Void::Result::Result<ProviderExport, Void::Result::Error>
|
||||
run_native_provider(const ProviderRequest &request, const std::filesystem::path &build_dir,
|
||||
const std::string &input_hash, std::stop_token stop) {
|
||||
std::error_code ec;
|
||||
std::filesystem::remove_all(build_dir, ec);
|
||||
// The directory is keyed by the provider input hash and backed by a
|
||||
// content-addressed state store, so stale objects are harmless. Do not wipe
|
||||
// it: another stage may still be compiling from its materialized snapshot
|
||||
// tree, and deleting it makes those sources disappear mid-build.
|
||||
std::filesystem::create_directories(build_dir, ec);
|
||||
|
||||
Graph::ProjectDescription desc;
|
||||
|
||||
Reference in new issue
Block a user