[gh-actions] Attempt fix for macOS workflow broken by mxml 4

This commit is contained in:
ejurgensen 2024-04-19 08:40:51 +02:00 committed by GitHub
parent 16b9de01c7
commit f00aae6c6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -38,6 +38,12 @@ jobs:
sudo ln -s /usr/local/opt/bison/bin/bison /usr/local/bin/bison sudo ln -s /usr/local/opt/bison/bin/bison /usr/local/bin/bison
sudo ln -s /usr/local/opt/flex/bin/flex /usr/local/bin/flex sudo ln -s /usr/local/opt/flex/bin/flex /usr/local/bin/flex
- name: Install libmxml
# Homebrew by default comes with libmxml 4, but it isn't compatible with mxml 3 which we need
run: |
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/71bfcd3624ee88eee1e2ea6653753dafd48e7fcf/Formula/lib/libmxml.rb
brew install --build-from-source libmxml.rb
- name: Install libinotify-kqueue - name: Install libinotify-kqueue
# brew does not have libinotify package # brew does not have libinotify package
run: | run: |
@ -69,10 +75,8 @@ jobs:
brew install ffmpeg brew install ffmpeg
- name: Install other dependencies - name: Install other dependencies
# Homebrew has libmxml but it isn't compatible with mxml 3
run: | run: |
brew search libmxml brew install libunistring confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl
brew install libunistring libmxml@3 confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl
- name: Configure - name: Configure
# We configure a non-privileged setup, since how to add a "owntone" system # We configure a non-privileged setup, since how to add a "owntone" system