mirror of
https://github.com/spatialaudio/portaudio-binaries.git
synced 2026-04-23 22:51:05 +08:00
try manylinux build
This commit is contained in:
35
.github/workflows/build-libs.yml
vendored
35
.github/workflows/build-libs.yml
vendored
@@ -1,10 +1,9 @@
|
|||||||
name: Build ASDF lib and run tests
|
name: Build ASDF lib and run tests
|
||||||
# TODO: only pull_request?
|
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
windows:
|
linux:
|
||||||
runs-on: windows-2022
|
runs-on: ubuntu-latest
|
||||||
# TODO: matrix with x64 and Win32
|
container: quay.io/pypa/manylinux2014_x86_64
|
||||||
steps:
|
steps:
|
||||||
- name: checkout portaudio
|
- name: checkout portaudio
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -12,32 +11,14 @@ jobs:
|
|||||||
repository: PortAudio/portaudio
|
repository: PortAudio/portaudio
|
||||||
ref: v19.7.0
|
ref: v19.7.0
|
||||||
path: portaudio
|
path: portaudio
|
||||||
# see https://github.com/PortAudio/portaudio/pull/552:
|
|
||||||
- name: cherry-pick MinGW fix
|
|
||||||
working-directory: portaudio
|
|
||||||
run: |
|
|
||||||
git fetch origin c6178e8592d936e246177a8991b75c9a043ccd00
|
|
||||||
git cherry-pick c6178e8592d936e246177a8991b75c9a043ccd00 --no-commit
|
|
||||||
# The next portaudio release will have an auto-download feature:
|
|
||||||
- name: download and extract ASIO SDK
|
|
||||||
run: |
|
|
||||||
curl -L -o asiosdk.zip https://www.steinberg.net/asiosdk
|
|
||||||
7z x asiosdk.zip
|
|
||||||
- name: cmake configure
|
- name: cmake configure
|
||||||
run: |
|
run: |
|
||||||
cmake -S portaudio -B build -A x64 -D PA_USE_ASIO=ON
|
cmake -S portaudio -B build
|
||||||
- name: cmake build
|
- name: cmake build
|
||||||
run: |
|
run: |
|
||||||
cmake --build build --config Release
|
cmake --build build
|
||||||
- name: rename DLL
|
- name: upload build
|
||||||
run: |
|
|
||||||
mv build/Release/portaudio_x64.dll libportaudio64bit.dll
|
|
||||||
- name: upload DLL
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-x64-dll
|
name: manylinux-build
|
||||||
path: libportaudio*.dll
|
path: build/*
|
||||||
|
|
||||||
# TODO: macOS universal dylib
|
|
||||||
|
|
||||||
# TODO: commit and push DLLs and dylib
|
|
||||||
|
|||||||
Reference in New Issue
Block a user