github workflow: add mac

This commit is contained in:
nu774 2023-03-08 23:43:23 +09:00
parent 4037c42577
commit 2ed6139278
1 changed files with 19 additions and 0 deletions

View File

@ -53,3 +53,22 @@ jobs:
./configure --host=${{ matrix.arch }}-w64-mingw32 --prefix=/usr/${{ matrix.arch }}-w64-mingw32
make
sudo make install
macos:
runs-on: macos-latest
steps:
- name: Install dependencies
run: |
brew install autoconf automake libtool pkg-config
brew install fdk-aac
- name: Checkout sources
uses: actions/checkout@v3
- name: Build
run: |
autoreconf -fiv
./configure
make
make install
- name: Test
run: |
fdkaac -b 128 -R -o /dev/null /dev/null