mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 03:30:13 +01:00
Delete portaudio-mac.yml
This commit is contained in:
44
.github/workflows/portaudio-mac.yml
vendored
44
.github/workflows/portaudio-mac.yml
vendored
@@ -1,44 +0,0 @@
|
|||||||
name: Build PortAudio
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-portaudio:
|
|
||||||
runs-on: macos-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Xcode command line tools
|
|
||||||
run: xcode-select --install || true
|
|
||||||
|
|
||||||
- name: Install Homebrew dependencies
|
|
||||||
run: |
|
|
||||||
brew update
|
|
||||||
brew install cmake
|
|
||||||
|
|
||||||
- name: Download PortAudio
|
|
||||||
run: |
|
|
||||||
wget http://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz
|
|
||||||
tar -xzf pa_stable_v190700_20210406.tgz
|
|
||||||
|
|
||||||
- name: Build and install PortAudio
|
|
||||||
run: |
|
|
||||||
cd portaudio
|
|
||||||
export CFLAGS='-fPIC -Wno-error -Wno-unused-but-set-variable'
|
|
||||||
export CXXFLAGS='-fPIC -Wno-error -Wno-unused-but-set-variable'
|
|
||||||
./configure --enable-shared --enable-static
|
|
||||||
make clean && make CFLAGS='-fPIC -Wno-error -Wno-unused-but-set-variable' CXXFLAGS='-fPIC -Wno-error -Wno-unused-but-set-variable'
|
|
||||||
|
|
||||||
- name: Upload PortAudio static library
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: libportaudio-static
|
|
||||||
path: portaudio/lib/.libs/libportaudio.a
|
|
||||||
retention-days: 30
|
|
||||||
Reference in New Issue
Block a user