From 4037c4257741d35e2d83659e8eb4be41804c4f8d Mon Sep 17 00:00:00 2001 From: nu774 Date: Wed, 8 Mar 2023 23:06:28 +0900 Subject: [PATCH] update github workflow --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8199d25..040be9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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