From 9552179e901df673ac3d3ad8803b915283e94607 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Wed, 3 Jul 2024 13:05:39 +0200 Subject: [PATCH] .circleci/config.yml: introduce NUTCI_HOMEBREW_BASEDIR to parameterize location of Homebrew libs, includes and ccache [#2502] Signed-off-by: Jim Klimov --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 15b74eb3f4..b6d1e42fd6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,7 @@ jobs: # * /opt/homebrew for Apple Silicon, # * /usr/local for macOS Intel and # * /home/linuxbrew/.linuxbrew for Linux + # TODO: Find a way to select one of the values based on the platform? type: string default: "/opt/homebrew" # since July 2024 CircleCI only serves Apple Silicon instances #default: "/usr/local" # was when CircleCI builders had x86 @@ -57,6 +58,7 @@ jobs: BUILD_TYPE: << parameters.BUILD_TYPE >> CI_BUILDDIR: << parameters.CI_BUILDDIR >> BREW_MORE: << parameters.BREW_MORE >> + NUTCI_HOMEBREW_BASEDIR: << parameters.NUTCI_HOMEBREW_BASEDIR >> # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor