mirror of
https://github.com/nu774/fdkaac.git
synced 2025-04-01 09:40:13 +02: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:
|
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,6 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user