From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Wed, 28 Sep 2022 21:54:24 +0000 (+0100) Subject: Improve macOS check. X-Git-Tag: 4.1-rc2~1^2~32^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c5f230c1ce8b95344f2e86c465ad50fbfbb6165;p=thirdparty%2Fshairport-sync.git Improve macOS check. --- diff --git a/.github/workflows/check_classic_mac_basic.yml b/.github/workflows/check_classic_mac_basic.yml index 48985a8f..c567230b 100644 --- a/.github/workflows/check_classic_mac_basic.yml +++ b/.github/workflows/check_classic_mac_basic.yml @@ -14,7 +14,22 @@ jobs: - name: Install Dependencies run: | brew update - brew install autoconf brew install automake - brew install pkg-config brew install openssl + brew upgrade + + - name: Set Equates + run: | + export CPPFLAGS="-I/usr/local/opt/openssl@3/include" + export LDFLAGS="-L/usr/local/opt/openssl@3/lib" + export PATH="$(brew --prefix)/opt/openssl/bin:${PATH}" + export PKG_CONFIG_PATH="$(brew --prefix)/opt/openssl/lib/pkgconfig" + + - name: Configure + run: | + autoreconf -fi + ./configure --with-os=darwin --with-ao --with-stdout --with-dns_sd --with-ssl=openssl + + - name: Make + run: | + make