From 263a197da46d7ea48ae5737d5f90c27b50d38091 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Tue, 23 Apr 2024 14:46:53 +0200 Subject: [PATCH] Revert "[gh-actions] Use stock Homebrew sqlite" This reverts commit 6a93172cb991c6b9a622a8424fc8898eab5bc818. --- .github/workflows/macos.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 17303996..d662bbc8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,6 +55,19 @@ jobs: sudo make install cd .. + - name: Install sqlite + # When GH actions has 3.43.0_1+, which has unlock-notify, then this can be + # removed and we can just install brew's sqlite + run: | + wget https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz + tar xzf sqlite-autoconf-3310100.tar.gz + cd sqlite-autoconf-3310100 + export CFLAGS='-DSQLITE_ENABLE_UNLOCK_NOTIFY=1' + ./configure + make + sudo make install + cd .. + - name: Install ffmpeg # The libbluray ffmpeg dependency fails without the chown (source: stackoverflow) run: | @@ -63,7 +76,7 @@ jobs: - name: Install other dependencies run: | - brew install sqlite libunistring confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl + brew install libunistring confuse libplist libwebsockets libevent libgcrypt json-c protobuf-c libsodium gnutls pulseaudio openssl - name: Configure # We configure a non-privileged setup, since how to add a "owntone" system