From d705c888cf93a0cad896daeb9613d4f46705947e Mon Sep 17 00:00:00 2001 From: nu774 Date: Thu, 9 Mar 2023 23:56:48 +0900 Subject: [PATCH] github workflow: add msys2 --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c779f8..dec9fa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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