]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Improve macOS check.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 28 Sep 2022 21:54:24 +0000 (22:54 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 28 Sep 2022 21:54:24 +0000 (22:54 +0100)
.github/workflows/check_classic_mac_basic.yml

index 48985a8f726e0500170f922246a0b18efc5eaec6..c567230b0de7fb5196feeb6eb04ed968d8c85c80 100644 (file)
@@ -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