From 0969ff6b5fa2d50c762035699c21097ba741e951 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:23:22 +0000 Subject: [PATCH 1/2] Fix openssl link overwrite warning ci --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4054c3dbe..951b18dc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -313,14 +313,14 @@ jobs: - name: Install deps on MacOS if: ${{ runner.os == 'macOS' && steps.cache.outputs.cache-hit != 'true' }} run: | - brew update + brew update --force brew remove ruby@3.0 # workaround for https://github.com/actions/setup-python/issues/577 for pkg in $(brew list | grep '^python@'); do brew unlink "$pkg" brew link --overwrite "$pkg" done - brew upgrade + brew upgrade --force - name: Build LLVM/Cling on Unix systems if the cache is invalid if: ${{ runner.os != 'windows' && steps.cache.outputs.cache-hit != 'true' }} @@ -767,7 +767,7 @@ jobs: - name: Install deps on MacOS if: runner.os == 'macOS' run: | - brew update + brew update --force brew remove ruby@3.0 export ARCHITECHURE=$(uname -m) if [[ "$ARCHITECHURE" == "x86_64" ]]; then @@ -778,7 +778,7 @@ jobs: brew unlink "$pkg" brew link --overwrite "$pkg" done - brew upgrade + brew upgrade --force brew install eigen brew install boost pip install distro pytest From 143a4944cc6301a2bc32eb7c454ba927808fcb4e Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Wed, 27 Nov 2024 18:28:51 +0000 Subject: [PATCH 2/2] Try redirecting standard output and error to ignore warning about linking openssl ci --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 951b18dc3..91192e28a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -313,14 +313,15 @@ jobs: - name: Install deps on MacOS if: ${{ runner.os == 'macOS' && steps.cache.outputs.cache-hit != 'true' }} run: | - brew update --force + brew update brew remove ruby@3.0 # workaround for https://github.com/actions/setup-python/issues/577 for pkg in $(brew list | grep '^python@'); do brew unlink "$pkg" brew link --overwrite "$pkg" done - brew upgrade --force + brew upgrade openssl >/dev/null 2>&1 + brew upgrade - name: Build LLVM/Cling on Unix systems if the cache is invalid if: ${{ runner.os != 'windows' && steps.cache.outputs.cache-hit != 'true' }}