Skip to content

upd - Updated theme submodule #142

upd - Updated theme submodule

upd - Updated theme submodule #142

name: Build MPG123 library (Windows - AMD64)
on:
push:
branches: [ "main", "x/oob/v1.0.x" ]
pull_request:
branches: [ "main", "x/oob/v1.0.x" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
with:
submodules: 'true'
ref: ${{ github.ref }}
- name: Setting up environment
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: |
base-devel
mingw-w64-x86_64-gcc
mingw-w64-x86_64-make
mingw-w64-x86_64-pkgconf
autoconf
automake
libtool
- name: MPG123 compilation
shell: msys2 {0}
run: |
cd assets/libmpg123 ; autoreconf -iv ; ./configure --prefix=/mingw64 --disable-components --enable-libmpg123 --enable-libout123 --enable-libout123-modules --with-default-audio=win32 CFLAGS="-O2 -D__USE_MINGW_ANSI_STDIO=0" ; make ; make install DESTDIR=$PWD/outlib
cp /mingw64/bin/libgcc_s_seh-1.dll outlib/ || true
cp /mingw64/bin/libwinpthread-1.dll outlib/ || true
- name: Artifacts
uses: actions/upload-artifact@v7
with:
name: "MPG123 library"
path: assets/libmpg123/outlib