mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:18:05 +08:00
[vcpkg] Fill in feature lists during CI reporting
This commit is contained in:
parent
44b9703a81
commit
4bf1cf35ba
@ -293,9 +293,7 @@ namespace vcpkg::Commands::CI
|
||||
std::vector<FullPackageSpec> install_specs;
|
||||
for (auto&& install_action : action_plan.install_actions)
|
||||
{
|
||||
install_specs.emplace_back(FullPackageSpec{
|
||||
install_action.spec,
|
||||
std::vector<std::string>{install_action.feature_list.begin(), install_action.feature_list.end()}});
|
||||
install_specs.emplace_back(FullPackageSpec{install_action.spec, install_action.feature_list});
|
||||
}
|
||||
|
||||
var_provider.load_tag_vars(install_specs, provider);
|
||||
@ -315,6 +313,7 @@ namespace vcpkg::Commands::CI
|
||||
{
|
||||
auto p = &action;
|
||||
ret->abi_map.emplace(action.spec, action.package_abi.value_or_exit(VCPKG_LINE_INFO));
|
||||
ret->features.emplace(action.spec, action.feature_list);
|
||||
if (auto scfl = p->source_control_file_location.get())
|
||||
{
|
||||
auto emp = ret->default_feature_provider.emplace(p->spec.name(), *scfl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user