Replace ImageMagick with a custom tool written in swift.

This commit is contained in:
Stefan Ceriu
2025-01-21 13:31:43 +02:00
committed by Stefan Ceriu
parent 0c61bfbb80
commit ef9c538cad
5 changed files with 80 additions and 38 deletions

View File

@@ -31,11 +31,6 @@ setup_xcode_cloud_environment () {
install_xcode_cloud_brew_dependencies () {
brew update && brew install xcodegen
if [ "$CI_WORKFLOW" = "Nightly" ]; then
brew install imagemagick@6
brew link imagemagick@6 # imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
fi
}
setup_github_actions_environment() {
@@ -44,11 +39,6 @@ setup_github_actions_environment() {
brew update && brew install xcodegen swiftformat git-lfs a7ex/homebrew-formulae/xcresultparser
if [ "$CI_WORKFLOW" = "PR_BUILD" ]; then
brew install imagemagick@6
brew link imagemagick@6 # imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
fi
# brew "swiftlint" # Fails on the CI: `Target /usr/local/bin/swiftlint Target /usr/local/bin/swiftlint already exists`. Installed through https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md#linters
bundle config path vendor/bundle