commit 210fa10749953e81fb3fb994b1108fb4013ec6c8
Author: Roman Fomin <rfomin@gmail.com>
AuthorDate: Wed Apr 9 23:57:03 2025 +0700
Commit: Roman Fomin <rfomin@gmail.com>
CommitDate: Wed Apr 9 23:57:03 2025 +0700
CI: Build MINGW32 version of libsamplearte
---
.github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5afc6900..887540de 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -102,8 +102,8 @@ jobs:
# matter if we're "breaking" anything:
pip3 install --break-system-packages pyyaml
- - name: Install dependencies (MSYS2)
- if: runner.os == 'Windows'
+ - name: Install dependencies (MSYS2 UCRT64)
+ if: ${{ matrix.config.msystem == 'ucrt64' }}
uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.config.msystem }}
@@ -121,6 +121,34 @@ jobs:
${{ matrix.config.msys-env }}-fluidsynth
${{ matrix.config.msys-env }}-python3-yaml
+ - name: Install dependencies (MSYS2 MINGW32)
+ if: ${{ matrix.config.msystem == 'mingw32' }}
+ uses: msys2/setup-msys2@v2
+ with:
+ msystem: ${{ matrix.config.msystem }}
+ update: true
+ path-type: inherit
+ install: >-
+ autotools
+ zip
+ ${{ matrix.config.msys-env }}-gcc
+ ${{ matrix.config.msys-env }}-SDL2
+ ${{ matrix.config.msys-env }}-SDL2_mixer
+ ${{ matrix.config.msys-env }}-SDL2_net
+ ${{ matrix.config.msys-env }}-libpng
+ ${{ matrix.config.msys-env }}-fluidsynth
+ ${{ matrix.config.msys-env }}-python3-yaml
+
+ - name: Build libsamplerate
+ if: ${{ matrix.config.msystem == 'mingw32' }}
+ run: |
+ git clone "https://github.com/libsndfile/libsamplerate.git"
+ cd "libsamplerate"
+ autoreconf -vif
+ ./configure
+ make
+ make install
+
- uses: actions/checkout@v4
with:
submodules: true