Revert "remove macOS support"

This reverts commit 518ce0187a.
This commit is contained in:
Camille Scholtz
2025-01-30 16:37:01 +01:00
committed by Max Kellermann
parent f15b6a43d3
commit 509786cbf1
33 changed files with 1659 additions and 40 deletions

View File

@@ -150,6 +150,56 @@ jobs:
- name: Unit Tests Mini
run: meson test -C output/mini
build-macos:
runs-on: macos-latest
steps:
- id: checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install dependencies
run: |
brew install \
meson ninja \
ccache \
fmt \
googletest \
icu4c \
ffmpeg \
libnfs \
libupnp \
libid3tag \
chromaprint \
libsamplerate \
libsoxr \
flac \
opus \
libvorbis \
faad2 \
wavpack \
libmpdclient
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Configure
run: |
meson setup \
-Ddocumentation=disabled \
-Dtest=true \
output
- name: Build
run: meson compile -C output --verbose
- name: Unit Tests
run: meson test -C output
build-msys2:
strategy:
matrix: