File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -1709,7 +1709,16 @@ namespace vcpkg
1709
1709
case CIKind::GithubActions:
1710
1710
case CIKind::GitLabCI:
1711
1711
case CIKind::AzurePipelines: return true ;
1712
- default : return false ;
1712
+ case CIKind::None:
1713
+ case CIKind::AppVeyor:
1714
+ case CIKind::AwsCodeBuild:
1715
+ case CIKind::CircleCI:
1716
+ case CIKind::HerokuCI:
1717
+ case CIKind::JenkinsCI:
1718
+ case CIKind::TeamCityCI:
1719
+ case CIKind::TravisCI:
1720
+ case CIKind::Generic: return false ;
1721
+ default : Checks::unreachable (VCPKG_LINE_INFO);
1713
1722
}
1714
1723
}
1715
1724
@@ -1718,11 +1727,6 @@ namespace vcpkg
1718
1727
const ReadOnlyFilesystem& fs,
1719
1728
const Path& file)
1720
1729
{
1721
- if (!is_collapsible_ci_kind (kind))
1722
- {
1723
- Checks::unreachable (VCPKG_LINE_INFO);
1724
- }
1725
-
1726
1730
auto title = file.filename ();
1727
1731
auto contents = fs.read_contents (file, VCPKG_LINE_INFO);
1728
1732
switch (kind)
@@ -1764,6 +1768,16 @@ namespace vcpkg
1764
1768
.append_raw (contents)
1765
1769
.append_raw (" ##[endgroup]\n " );
1766
1770
break ;
1771
+ case CIKind::None:
1772
+ case CIKind::AppVeyor:
1773
+ case CIKind::AwsCodeBuild:
1774
+ case CIKind::CircleCI:
1775
+ case CIKind::HerokuCI:
1776
+ case CIKind::JenkinsCI:
1777
+ case CIKind::TeamCityCI:
1778
+ case CIKind::TravisCI:
1779
+ case CIKind::Generic: Checks::unreachable (VCPKG_LINE_INFO, " CIKind not collapsible" );
1780
+ default : Checks::unreachable (VCPKG_LINE_INFO);
1767
1781
}
1768
1782
}
1769
1783
You can’t perform that action at this time.
0 commit comments