Skip to content

Commit 05ab967

Browse files
committed
using macos-12 for openssl@1.1 runs
1 parent 2f0f2be commit 05ab967

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
build-macos:
104104
strategy:
105105
matrix:
106-
openssl: ["1.1", "3.0"]
106+
openssl: ["3.0"]
107107
runs-on: macos-latest
108108
continue-on-error: true
109109
steps:
@@ -114,6 +114,25 @@ jobs:
114114
- name: Build
115115
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make
116116

117+
# According to https://github.com/actions/runner-images/blob/macos-14-arm64/20241119.509/images/macos/macos-14-arm64-Readme.md
118+
# [macOS] OpenSSL 1.1 will be removed and OpenSSL 3 will be the default for all macOS images from November 4, 2024
119+
# so use macos-12 which does not have the deprecation notice
120+
build-macos-openssl-1-1:
121+
strategy:
122+
matrix:
123+
platform: [macos-12]
124+
runs-on: ${{ matrix.platform }}
125+
steps:
126+
- uses: actions/checkout@v1
127+
- name: Install dependencies
128+
run: |
129+
brew install autoconf automake libtool libevent pkg-config
130+
- name: Install openssl v1.0.2
131+
run: brew install rbenv/tap/openssl@1.0
132+
- name: Build
133+
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@1.0`/lib/pkgconfig ./configure && make
134+
135+
117136
build-macos-openssl-1-0-2:
118137
strategy:
119138
matrix:

0 commit comments

Comments
 (0)