mirror of
https://github.com/nu774/fdkaac.git
synced 2025-03-15 08:20:08 +01:00
update github workflow
This commit is contained in:
parent
4f35b8ad7c
commit
4037c42577
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -3,7 +3,10 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: [20.04, 22.04]
|
||||
runs-on: ubuntu-${{ matrix.version }}
|
||||
steps:
|
||||
- name: Install libfdk-aac
|
||||
run: |
|
||||
@ -15,6 +18,10 @@ jobs:
|
||||
autoreconf -fiv
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
- name: Test
|
||||
run: |
|
||||
fdkaac -b 128 -R -o /dev/null /dev/null
|
||||
|
||||
mingw-cross:
|
||||
strategy:
|
||||
@ -43,5 +50,6 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
autoreconf -fiv
|
||||
./configure --host=${{ matrix.arch }}-w64-mingw32
|
||||
./configure --host=${{ matrix.arch }}-w64-mingw32 --prefix=/usr/${{ matrix.arch }}-w64-mingw32
|
||||
make
|
||||
sudo make install
|
||||
|
Loading…
x
Reference in New Issue
Block a user