commit | e541d1b250626003d5f8e8263d14a1f8739bde31 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Wed Aug 17 15:10:32 2022 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Thu Aug 18 20:50:05 2022 -0400 |
tree | 0a9efcb0a06a37f05b9a2a15f5968c98b62687cf | |
parent | 4791fcb8babca514927196dcb2deaf5031bc265c [diff] [blame] |
build+ci: support macOS on arm64 Refs: #5135 Change-Id: I86f1955366df12cfb8b3e6f9d5e9f202778cc211
diff --git a/.jenkins b/.jenkins index 4456e3a..ee16e29 100755 --- a/.jenkins +++ b/.jenkins
@@ -16,6 +16,11 @@ # Emulate a subset of os-release(5) export ID=macos export VERSION_ID=$(sw_vers -productVersion) + if [[ -x /opt/homebrew/bin/brew ]]; then + eval "$(/opt/homebrew/bin/brew shellenv)" + elif [[ -x /usr/local/bin/brew ]]; then + eval "$(/usr/local/bin/brew shellenv)" + fi ;; esac