Skip to content

Commit

Permalink
meson: use macos-12 runners for ci builds.
Browse files Browse the repository at this point in the history
Building with openssl on macos-latest (14) is broken.
  • Loading branch information
pabuhler committed May 6, 2024
1 parent bde994e commit 239a986
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 239a986

Please sign in to comment.