From 27118fb36c5042831cff35f80886dd1169c0b751 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Mon, 11 Sep 2023 19:11:00 +0530 Subject: [PATCH] CI: Build in multiple macos versions Overwrite existing go symlinks while installing go in macos-13 --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27cc5b3..75c1499 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -145,7 +145,11 @@ jobs: /usr/local/bin/fastboot --version macos: - runs-on: macos-latest + strategy: + fail-fast: false + matrix: + os: [macos-11, macos-12, macos-13] + runs-on: ${{ matrix.os }} needs: [upload-src] steps: - name: prep macos @@ -153,7 +157,7 @@ jobs: brew uninstall "openssl@1.1" rm /usr/local/bin/openssl rm -rf /usr/local/opt/openssl /usr/local/include/openssl - brew install brotli cmake googletest libusb lz4 \ + brew install --overwrite brotli cmake go googletest libusb lz4 \ ninja pcre2 protobuf zstd - name: download source