-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate checkout github action from v2 to v4. Using macos-12 for open…
…[email protected] runs due do deprecation notices.
- Loading branch information
1 parent
42b228f
commit 0bc08bc
Showing
2 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
build-notls: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get -qq update | ||
|
@@ -21,7 +21,7 @@ jobs: | |
platform: [ubuntu-latest, ubuntu-20.04] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get -qq update | ||
|
@@ -103,7 +103,7 @@ jobs: | |
build-macos: | ||
strategy: | ||
matrix: | ||
openssl: ["1.1", "3.0"] | ||
openssl: ["3.0"] | ||
runs-on: macos-latest | ||
continue-on-error: true | ||
steps: | ||
|
@@ -113,6 +113,24 @@ jobs: | |
- name: Build | ||
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make | ||
|
||
# According to https://github.com/actions/runner-images/blob/macos-14-arm64/20241119.509/images/macos/macos-14-arm64-Readme.md | ||
# [macOS] OpenSSL 1.1 will be removed and OpenSSL 3 will be the default for all macOS images from November 4, 2024 | ||
# so use macos-12 which does not have the deprecation notice | ||
build-macos-openssl-1-1: | ||
strategy: | ||
matrix: | ||
platform: [macos-12] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install dependencies | ||
run: brew install autoconf automake libtool libevent pkg-config | ||
- name: Install openssl v1.0.2 | ||
run: brew install rbenv/tap/[email protected] | ||
- name: Build | ||
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix [email protected]`/lib/pkgconfig ./configure && make | ||
|
||
|
||
build-macos-openssl-1-0-2: | ||
strategy: | ||
matrix: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters