Skip to content

Commit

Permalink
add - Added macOS AMD64 native lib build
Browse files Browse the repository at this point in the history
---

We've added a new workflow that allows us to build the libmpg123 library for AMD64 macOS.

---

Type: add
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 13, 2024
1 parent 31134bd commit e560995
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build-mpg123-mac-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build MPG123 library (macOS - AMD64)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: macos-13

steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
ref: ${{ github.ref }}
- name: Setting up environment
run: |
brew install automake
- name: Setting up MPG123 library
run: |
curl -o mpg123.tar.bz2 https://www.mpg123.de/download/mpg123-1.32.7.tar.bz2
tar xvf mpg123.tar.bz2
- name: MPG123 compilation
run: |
cd mpg123-1.32.7 ; ./configure ; make
- name: MPG123 artifacts
uses: actions/upload-artifact@v4
with:
name: "MPG123 library - libmpg123"
path: mpg123-1.32.7/src/libmpg123/.libs/libmpg123.0.dylib
- name: MPG123 artifacts
uses: actions/upload-artifact@v4
with:
name: "MPG123 library - libout123"
path: mpg123-1.32.7/src/libout123/.libs/libout123.0.dylib
- name: MPG123 artifacts
uses: actions/upload-artifact@v4
with:
name: "MPG123 library - libout123 output modules"
path: mpg123-1.32.7/src/libout123/modules/.libs/*.so

0 comments on commit e560995

Please sign in to comment.