From 239a986949ff8399cf4bbd7ba67e84e733a4cbf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20B=C3=BChler?= Date: Mon, 6 May 2024 07:51:04 +0200 Subject: [PATCH] meson: use macos-12 runners for ci builds. Building with openssl on macos-latest (14) is broken. --- .github/workflows/meson.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index 6a3769bc8..b307229e7 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-12, windows-latest] crypto: [internal, openssl, openssl3, wolfssl, nss, mbedtls] exclude: - os: windows-latest @@ -55,7 +55,7 @@ jobs: sudo apt-get install meson - name: Setup macOS Meson - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-12' run: | brew install meson @@ -88,17 +88,17 @@ jobs: run: sudo apt-get install libmbedtls-dev - name: Setup macOS OpenSSL - if: matrix.os == 'macos-latest' && matrix.crypto == 'openssl' + if: matrix.os == 'macos-12' && matrix.crypto == 'openssl' run: echo "pkgconfig-crypto-dir=PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig" >> $GITHUB_ENV - name: Setup macOS OpenSSL3 - if: matrix.os == 'macos-latest' && matrix.crypto == 'openssl3' + if: matrix.os == 'macos-12' && matrix.crypto == 'openssl3' run: | brew install openssl@3 echo "pkgconfig-crypto-dir=PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV - name: Setup macOS wolfSSL - if: matrix.os == 'macos-latest' && matrix.crypto == 'wolfssl' + if: matrix.os == 'macos-12' && matrix.crypto == 'wolfssl' run: | brew install autoconf automake libtool git clone https://github.com/wolfSSL/wolfssl @@ -116,11 +116,11 @@ jobs: cd .. - name: Setup macOS NSS - if: matrix.os == 'macos-latest' && matrix.crypto == 'nss' + if: matrix.os == 'macos-12' && matrix.crypto == 'nss' run: brew install nss - name: Setup macOS MbedTLS - if: matrix.os == 'macos-latest' && matrix.crypto == 'mbedtls' + if: matrix.os == 'macos-12' && matrix.crypto == 'mbedtls' run: brew install mbedtls - uses: actions/checkout@v2