Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .azure-pipelines/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ extends:
- ${{ each dim in parameters.macos_matrix }}:
- job: ${{ dim.id }}
displayName: ${{ dim.jobName }}
timeoutInMinutes: 360
pool:
name: ${{ dim.pool }}
image: ${{ dim.image }}
Expand Down Expand Up @@ -715,6 +716,8 @@ extends:
sudo mdutil -i off / || true
- task: Bash@3
displayName: 'Install build dependencies'
env:
HOMEBREW_MAKE_JOBS: '8'
inputs:
targetType: inline
script: |
Expand All @@ -729,7 +732,18 @@ extends:
rev=7a133dcc74051ee4efc79467ed215dfedf45aea2
arch -x86_64 /bin/bash -c \
"$(curl -fsSL "$url/$rev/install.sh")"
arch -x86_64 /usr/local/bin/brew install gettext
# Pin a formula with an Intel macOS bottle.
x86_brew () {
arch -x86_64 /usr/local/bin/brew "$@"
}
x86_brew tap-new --no-git microsoft/git-ci
tap="$(x86_brew --repository microsoft/git-ci)"
url=https://raw.githubusercontent.com
url=$url/Homebrew/homebrew-core
rev=87b79807b37427774de3b55f9d89eb9f6286f1fa
curl -fsSL "$url/$rev/Formula/g/gettext.rb" \
-o "$tap/Formula/gettext.rb"
x86_brew install --force-bottle microsoft/git-ci/gettext

# Ensure native Homebrew (arm64) is up-to-date beforehand.
HOMEBREW_NO_AUTO_UPDATE='' brew update
Expand Down
Loading