diff options
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index 5393dd8e0..b7fc9e1c0 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -66,11 +66,13 @@ namespace vcpkg::Commands::CI { System::println("Building package %s... ", display_name); auto&& source_paragraph = action.any_paragraph.source_paragraph.value_or_exit(VCPKG_LINE_INFO); - const BuildResult result = Commands::Build::build_package(source_paragraph, - action.spec, - paths, - paths.port_dir(action.spec), - status_db); + const auto result_ex = Commands::Build::build_package(source_paragraph, + action.spec, + paths, + paths.port_dir(action.spec), + status_db); + const auto result = result_ex.code; + timing.back() = build_timer.to_string(); results.back() = result; if (result != BuildResult::SUCCEEDED) |
