github workflow: add msys2

This commit is contained in:
nu774 2023-03-09 23:56:48 +09:00
parent 31e62aa51c
commit d705c888cf
1 changed files with 35 additions and 0 deletions

View File

@ -72,3 +72,38 @@ jobs:
- name: Test
run: |
fdkaac -b 128 -R -o /dev/null /dev/null
msys2:
runs-on: windows-latest
strategy:
matrix:
sys: [ clang32, clang64, mingw32, mingw64, ucrt64 ]
defaults:
run:
shell: msys2 {0}
steps:
- name: Setup msys2
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.sys }}
update: true
install: git
pacboy: >-
autoconf:
automake:
libtool:
make:
cc:p
pkg-config:p
fdk-aac:p
- name: Checkout
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