Skip to content

Commit

Permalink
CircleCI: avoid installing Xcodes when not needed (#3585)
Browse files Browse the repository at this point in the history
Most jobs don't actually use it, so this moves the installation out of
`install-dependencies`.
  • Loading branch information
NachoSoto committed Jan 19, 2024
1 parent e82ee31 commit 6118c5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ commands:
runtime-name:
type: string
steps:
- install-brew-dependency:
dependency_name: 'xcodes'
- run:
name: Install simulator
command: | # Print all available simulators and install required one
Expand Down Expand Up @@ -114,14 +116,11 @@ commands:
- install-brew-dependency:
dependency_name: 'swiftlint'
- run: brew tap robotsandpencils/made
- install-brew-dependency:
dependency_name: 'xcodes'
- save_cache:
key: homebrew-cache-{{ checksum "Brewfile.lock.json" }}-{{ arch }}
paths:
- /usr/local/Cellar/swiftlint/
- /usr/local/Cellar/xcbeautify/
- /usr/local/Caskroom/xcodes/
- /Users/$USER/Library/Caches/Homebrew/

install-brew-dependency:
Expand Down

0 comments on commit 6118c5a

Please sign in to comment.