From 1ec4c3949eac26ee445211d207c8987b292ad6f8 Mon Sep 17 00:00:00 2001 From: John Cai Date: Thu, 15 Feb 2024 15:21:04 -0500 Subject: [PATCH] .gitlab-ci.yml: Add `brew update` step for macos job Homebrew needs to be updated in the job. Otherwise it may not have all the formulae needed. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f51d39ded0..49c9fc42b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -365,6 +365,7 @@ test:macos: - sudo spctl --master-disable # Create a 2GB RAM disk to speed up our tests. - sudo diskutil apfs create $(hdiutil attach -nomount ram://4194304) RAMDisk + - brew update - brew uninstall go - brew install cmake go@${GO_VERSION} # Older Go versions may be keg-only and thus aren't linked into `PATH` by -- GitLab