Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed brew link step for pkgconf
Browse files Browse the repository at this point in the history
filipecosta90 committed Nov 21, 2024
1 parent 708922f commit fa01d4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -110,6 +110,8 @@ jobs:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
brew unlink pkg-config@0.29.2 || true
brew unlink pkg-config || true
brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }}
# Handle OpenSSL 3.0 keg-only setup
if [ "${{ matrix.openssl }}" == "3.0" ]; then
@@ -125,7 +127,6 @@ jobs:
if ! brew list --versions pkgconf > /dev/null; then
brew install pkgconf
fi
brew unlink pkg-config@0.29.2 || true
brew link --overwrite pkgconf
- name: Build
run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make
@@ -139,11 +140,12 @@ jobs:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
brew unlink pkg-config@0.29.2 || true
brew unlink pkg-config || true
brew install autoconf automake libtool libevent pkg-config
if ! brew list --versions pkgconf > /dev/null; then
brew install pkgconf
fi
brew unlink pkg-config@0.29.2 || true
brew link --overwrite pkgconf
- name: Install openssl v1.0.2
run: brew install rbenv/tap/openssl@1.0

0 comments on commit fa01d4a

Please sign in to comment.