mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 05:07:02 +00:00
[macOS] Add Symlink for tcl-tk8 (#11128)
* [macOS] Add Symlink for tcl-tk8 * [macOS] Add condition for tcl tk only for macOS13 and macOS14 Intel machines * [macOS] Update test case for tcl/tk * [macOS] Update test cases for tcl/tk for macOS15 * [macOS] Update tcl/tk test cases
This commit is contained in:
committed by
GitHub
parent
0e631a89e8
commit
5c8a14c94c
@@ -21,7 +21,14 @@ for package in $common_packages; do
|
|||||||
# Packer has been deprecated in Homebrew. Use tap to install Packer.
|
# Packer has been deprecated in Homebrew. Use tap to install Packer.
|
||||||
brew install hashicorp/tap/packer
|
brew install hashicorp/tap/packer
|
||||||
else
|
else
|
||||||
|
if (is_VenturaX64 || is_SonomaX64) && [[ $package == "tcl-tk@8" ]]; then
|
||||||
brew_smart_install "$package"
|
brew_smart_install "$package"
|
||||||
|
# Fix for https://github.com/actions/runner-images/issues/11074
|
||||||
|
ln -sf $(brew --prefix tcl-tk@8)/lib/libtcl8.6.dylib /usr/local/lib/libtcl8.6.dylib
|
||||||
|
ln -sf $(brew --prefix tcl-tk@8)/lib/libtk8.6.dylib /usr/local/lib/libtk8.6.dylib
|
||||||
|
else
|
||||||
|
brew_smart_install "$package"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -62,10 +62,10 @@ Describe "Perl" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Tcl/Tk" {
|
Describe "Tcl/Tk" -Skip:($os.IsVenturaArm64 -or $os.IsSonomaArm64 -or $os.IsSequoia) {
|
||||||
It "libtcl" {
|
It "libtcl" {
|
||||||
"file /usr/local/lib/libtcl8.6.dylib" | Should -ReturnZeroExitCode
|
Test-Path "/usr/local/lib/libtcl8.6.dylib" | Should -BeTrue
|
||||||
"file /usr/local/lib/libtk8.6.dylib" | Should -ReturnZeroExitCode
|
Test-Path "/usr/local/lib/libtk8.6.dylib" | Should -BeTrue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user