Compare commits

...

2 Commits

Author SHA1 Message Date
nu774 1686009cbc fix ci.yml: add prefix for libfdk-aac install 2023-03-06 21:49:24 +09:00
nu774 f80179646e add github workflow 2023-03-06 21:42:29 +09:00
1 changed files with 41 additions and 0 deletions

41
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: CI
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Install libfdk-aac
run: |
sudo apt install libfdk-aac-dev
- name: Checkout sources
uses: actions/checkout@v3
- name: Build
run: |
autoreconf -fiv
./configure
make
mingw-cross:
runs-on: ubuntu-latest
steps:
- name: Install cross compiler
run: |
sudo apt-get install g++-mingw-w64-x86-64
- name: Checkout libfdk-aac
uses: actions/checkout@v3
with:
repository: mstorsjo/fdk-aac
- name: Build libfdk-aac
run: |
./autogen.sh
./configure --host=x86_64-w64-mingw32 --prefix=/usr/x86_64-w64-mingw32
make
sudo make install
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
autoreconf -fiv
./configure --host=x86_64-w64-mingw32
make