mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Only install imagemagick when needed.
Workaround for issues installing python from brew on a runner right now.
This commit is contained in:
parent
2062b8c999
commit
b0f109a023
2
.github/workflows/pr-build.yml
vendored
2
.github/workflows/pr-build.yml
vendored
@ -29,6 +29,8 @@ jobs:
|
||||
${{ runner.os }}-gems-
|
||||
|
||||
- name: Setup environment
|
||||
env:
|
||||
CI_WORKFLOW: PR_BUILD
|
||||
run:
|
||||
source ci_scripts/ci_common.sh && setup_github_actions_environment
|
||||
|
||||
|
@ -41,7 +41,11 @@ setup_github_actions_environment() {
|
||||
unset HOMEBREW_NO_INSTALL_FROM_API
|
||||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
|
||||
|
||||
brew update && brew install xcodegen swiftformat git-lfs imagemagick a7ex/homebrew-formulae/xcresultparser
|
||||
brew update && brew install xcodegen swiftformat git-lfs a7ex/homebrew-formulae/xcresultparser
|
||||
|
||||
if [ "$CI_WORKFLOW" = "PR_BUILD" ]; then
|
||||
brew install imagemagick
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user