Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH actions deprecation fixes: migrate checkout github action from v2 to v4 and [email protected]/1.0 fixes. #281

Merged
merged 5 commits into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -103,20 +103,36 @@ jobs:
build-macos:
strategy:
matrix:
openssl: ["1.1", "3.0"]
openssl: ["3.0"]
runs-on: macos-latest
continue-on-error: true
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }}
run: brew install autoconf automake libtool libevent openssl@${{ matrix.openssl }}
- 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 [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:
platform: [macos-latest]
platform: [macos-12]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
dist: ${{ fromJSON(vars.BUILD_DISTS) }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: sources
- name: Install dependencies
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
exclude: ${{ fromJSON(vars.BUILD_EXCLUDE) }}
needs: build-source-package
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Determine build architecture
run: |
if [ ${{ matrix.arch }} = "i386" ]; then
Expand Down
Loading