[PM-18414] CI restructuring #3 - Add Brewfile with version pinning (#1525)

This commit is contained in:
Álison Fernandes 2025-04-23 22:43:07 +01:00 committed by GitHub
parent 6b7264435f
commit e67e818581
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 21 additions and 16 deletions

View File

@ -131,9 +131,10 @@ jobs:
with:
bundler-cache: true
- name: Install Mint, protobuf, xcbeautify, and yq
- name: Install Homebrew Dependencies
run: |
brew install mint swift-protobuf xcbeautify yq
brew update
brew bundle
- name: Install Mint packages
if: steps.mint-cache.outputs.cache-hit != 'true'

View File

@ -333,18 +333,10 @@ jobs:
with:
bundler-cache: true
- name: Update homebrew
- name: Install Homebrew Dependencies
run: |
brew update
- name: Install Fastlane
if: env._BUILD_MODE == 'Device'
run: |
brew install fastlane
- name: Install Mint
run: |
brew install mint
brew bundle
- name: Install Mint packages
if: steps.mint-cache.outputs.cache-hit != 'true'

View File

@ -119,9 +119,10 @@ jobs:
run: |
./Scripts-bwa/update_test_local_config.sh "${{ env._COMPILER_FLAGS }}"
- name: Install Mint, protobuf, and xcresultparser
- name: Install Homebrew Dependencies and run bootstrap.sh
run: |
brew install mint swift-protobuf xcresultparser
brew update
brew bundle
./Scripts/bootstrap.sh
- name: Build and test

View File

@ -114,9 +114,10 @@ jobs:
run: |
./Scripts/update_test_local_config.sh "${{ env._COMPILER_FLAGS }}"
- name: Install Mint and xcresultparser
- name: Install Homebrew Dependencies and run bootstrap.sh
run: |
brew install mint xcresultparser
brew update
brew bundle
./Scripts/bootstrap.sh
- name: Build and test

8
Brewfile Normal file
View File

@ -0,0 +1,8 @@
brew "fastlane"
brew "mint"
brew "swift-protobuf" # used by Bitwarden Authenticator
if ENV["CI"]
brew "yq"
brew "xcresultparser"
end

View File

@ -2,6 +2,8 @@
set -euo pipefail
brew bundle check # use --verbose to list missing dependencies
mint bootstrap
# Handle script being called from repo root or Scripts folder