[macOS] VCpkg update for macOS-14 and macOS-15 images (#11738)

* Vcpkg Update

* vcpkg update

* VCPKG update

* Updated permission issue

* Updated path for arm

* Installation path change

* Installation path update

* Installation Path change

* VCpkg update in software report

* permission changed

* permission updated

* permission

* Added sudo in chmod

* Added sudo for Symlink

* Removed sudo for Symlink
This commit is contained in:
archita105
2025-04-11 16:40:06 +05:30
committed by GitHub
parent 945f3da217
commit cf96585d26
7 changed files with 9 additions and 5 deletions

View File

@@ -16,10 +16,10 @@ mkdir -p /Users/runner/.vcpkg
touch /Users/runner/.vcpkg/vcpkg.path.txt
# Install vcpkg
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
sudo git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
sudo $VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
chmod -R 0777 $VCPKG_INSTALLATION_ROOT
sudo chmod -R 0777 $VCPKG_INSTALLATION_ROOT
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
rm -rf /Users/runner/.vcpkg

View File

@@ -64,7 +64,7 @@ if ((-not $os.IsSequoia)) {
$packageManagement.AddToolVersion("Pip3", $(Get-Pip3Version))
$packageManagement.AddToolVersion("Pipx", $(Get-PipxVersion))
$packageManagement.AddToolVersion("RubyGems", $(Get-RubyGemsVersion))
if ((-not $os.IsVenturaArm64) -and (-not $os.IsSonoma) -and (-not $os.IsSequoia)) {
if (-not $os.IsVenturaArm64) {
$packageManagement.AddToolVersion("Vcpkg", $(Get-VcpkgVersion))
}
$packageManagement.AddToolVersion("Yarn", $(Get-YarnVersion))

View File

@@ -33,7 +33,7 @@ Describe "GCC" {
}
}
Describe "vcpkg" -Skip:($os.IsVenturaArm64 -or $os.IsSonoma -or $os.IsSequoia) {
Describe "vcpkg" -Skip:($os.IsVenturaArm64) {
It "vcpkg" {
"vcpkg version" | Should -ReturnZeroExitCode
}