-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add - Added macOS AMD64 native lib build
--- 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
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |