Compare commits

..

2 Commits

Author SHA1 Message Date
nu774 2ed6139278 github workflow: add mac 2023-03-08 23:43:23 +09:00
nu774 4037c42577 update github workflow 2023-03-08 23:10:19 +09:00
1 changed files with 29 additions and 2 deletions

View File

@ -3,7 +3,10 @@ on: [push, pull_request]
jobs: jobs:
linux: linux:
runs-on: ubuntu-latest strategy:
matrix:
version: [20.04, 22.04]
runs-on: ubuntu-${{ matrix.version }}
steps: steps:
- name: Install libfdk-aac - name: Install libfdk-aac
run: | run: |
@ -15,6 +18,10 @@ jobs:
autoreconf -fiv autoreconf -fiv
./configure ./configure
make make
sudo make install
- name: Test
run: |
fdkaac -b 128 -R -o /dev/null /dev/null
mingw-cross: mingw-cross:
strategy: strategy:
@ -43,5 +50,25 @@ jobs:
- name: Build - name: Build
run: | run: |
autoreconf -fiv autoreconf -fiv
./configure --host=${{ matrix.arch }}-w64-mingw32 ./configure --host=${{ matrix.arch }}-w64-mingw32 --prefix=/usr/${{ matrix.arch }}-w64-mingw32
make 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