diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5a6363..aab7679 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,14 @@ jobs: - name: Install dependencies run: | brew install autoconf automake libtool libevent pkg-config openssl@${{ matrix.openssl }} + if [ "${{ matrix.openssl }}" == "3.0" ]; then + echo 'export PATH="/opt/homebrew/opt/openssl@3.0/bin:$PATH"' >> $HOME/.bash_profile + echo 'export LDFLAGS="-L/opt/homebrew/opt/openssl@3.0/lib"' >> $HOME/.bash_profile + echo 'export CPPFLAGS="-I/opt/homebrew/opt/openssl@3.0/include"' >> $HOME/.bash_profile + echo 'export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3.0/lib/pkgconfig"' >> $HOME/.bash_profile + source $HOME/.bash_profile + /opt/homebrew/opt/openssl@3.0/bin/c_rehash + fi brew link --overwrite pkgconf - name: Build run: autoreconf -ivf && PKG_CONFIG_PATH=`brew --prefix openssl@${{ matrix.openssl }}`/lib/pkgconfig ./configure && make