From ddbc0bc239294b32be6777396684392c736694c9 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sat, 9 Mar 2024 15:43:46 -0500 Subject: [PATCH 1/3] Use --force with brew install, block upgrades --- .github/workflows/build-and-test-macos.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-macos.yaml b/.github/workflows/build-and-test-macos.yaml index 71856543f..c70382313 100644 --- a/.github/workflows/build-and-test-macos.yaml +++ b/.github/workflows/build-and-test-macos.yaml @@ -18,6 +18,8 @@ concurrency: cancel-in-progress: true jobs: build: + env: + HOMEBREW_NO_INSTALL_UPGRADE: 1 strategy: matrix: os: @@ -29,7 +31,7 @@ jobs: steps: - name: Install dependencies run: | - brew install \ + brew install --force \ cmake \ freetype \ gettext \ From b4aa0da84684ee7982ea401e77bce69b79f16f16 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sat, 9 Mar 2024 16:09:39 -0500 Subject: [PATCH 2/3] This too --- .github/workflows/build-and-test-macos.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-and-test-macos.yaml b/.github/workflows/build-and-test-macos.yaml index c70382313..c663569c5 100644 --- a/.github/workflows/build-and-test-macos.yaml +++ b/.github/workflows/build-and-test-macos.yaml @@ -20,6 +20,7 @@ jobs: build: env: HOMEBREW_NO_INSTALL_UPGRADE: 1 + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 strategy: matrix: os: From 059e251f9e325d6f9509d7c4f0139d5d20784138 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sat, 9 Mar 2024 16:23:27 -0500 Subject: [PATCH 3/3] Just ignore homebrew return code --- .github/workflows/build-and-test-macos.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test-macos.yaml b/.github/workflows/build-and-test-macos.yaml index c663569c5..7c000780e 100644 --- a/.github/workflows/build-and-test-macos.yaml +++ b/.github/workflows/build-and-test-macos.yaml @@ -45,7 +45,8 @@ jobs: libxi \ lua \ ninja \ - pkg-config + pkg-config \ + || true # Ignore errors - name: Checkout uses: actions/checkout@v4 - run: mkdir build