Skip to content

Commit

Permalink
Use imagemagick6 as it doesn't depend on Python. (#2557)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Mar 12, 2024
1 parent 83f5ae9 commit 595858b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci_scripts/ci_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ setup_xcode_cloud_environment () {
}

install_xcode_cloud_brew_dependencies () {
brew update && brew install xcodegen imagemagick
brew update && brew install xcodegen

if [ "$CI_WORKFLOW" = "Nightly" ]; then
brew install imagemagick@6
fi
}

install_xcode_cloud_python_dependencies () {
Expand All @@ -44,7 +48,7 @@ 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
brew install imagemagick@6
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
Expand Down

0 comments on commit 595858b

Please sign in to comment.