From a1d5b040574a0b80e2080511ae4b2a981378d2f6 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Thu, 16 Apr 2026 17:34:03 -0700 Subject: [PATCH] export cflags to try to find augeas.h --- .github/actions/run_tox/action.yml | 2 +- .github/actions/setup_tox/action.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/run_tox/action.yml b/.github/actions/run_tox/action.yml index 0b70fa70f..72c14dbe9 100644 --- a/.github/actions/run_tox/action.yml +++ b/.github/actions/run_tox/action.yml @@ -1,4 +1,4 @@ -name: run_tox +name: Run tox inputs: AWS_ACCESS_KEY_ID: diff --git a/.github/actions/setup_tox/action.yml b/.github/actions/setup_tox/action.yml index 686a53b6d..b6a82402e 100644 --- a/.github/actions/setup_tox/action.yml +++ b/.github/actions/setup_tox/action.yml @@ -1,4 +1,4 @@ -name: setup_tox +name: Setup tox inputs: AWS_TEST_FARM_PEM: @@ -12,6 +12,13 @@ inputs: runs: using: composite steps: + # We run brew update because we've seen attempts to install an older version + # of a package fail. See + # https://github.com/actions/virtual-environments/issues/3165. + # + # We untap homebrew/core and homebrew/cask and unset HOMEBREW_NO_INSTALL_FROM_API (which + # is maybe set by the CI macOS env) because GitHub has been having issues, making these jobs + # fail on git clones: https://github.com/orgs/Homebrew/discussions/4612. - name: Install MacOS dependencies if: runner.os == 'macOS' run: |- @@ -20,6 +27,8 @@ runs: brew untap homebrew/core homebrew/cask brew update brew install augeas + BREW_PREFIX=$(brew --prefix) + export CFLAGS="$CFLAGS -I$BREW_PREFIX/include -L$BREW_PREFIX/lib" shell: bash - name: Install Linux dependencies if: runner.os == 'Linux'