summaryrefslogtreecommitdiff
path: root/portaudio/.github
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-27 23:52:56 -0500
committersanine <sanine.not@pm.me>2022-08-27 23:52:56 -0500
commita4dd0ad63c00f4dee3b86dfd3075d1d61b2b3180 (patch)
tree13bd5bfa15e6fea2a12f176bae79adf9c6fd0933 /portaudio/.github
parentbde3e4f1bb7b8f8abca0884a7d994ee1c17a66b1 (diff)
add plibsys
Diffstat (limited to 'portaudio/.github')
-rw-r--r--portaudio/.github/ISSUE_TEMPLATE/bug_report.md34
-rw-r--r--portaudio/.github/workflows/MSBuild.yml96
-rw-r--r--portaudio/.github/workflows/c-cpp.yml54
3 files changed, 0 insertions, 184 deletions
diff --git a/portaudio/.github/ISSUE_TEMPLATE/bug_report.md b/portaudio/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 794c5e9..0000000
--- a/portaudio/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve
-title: ''
-labels: ''
-assignees: ''
-
----
-
-(Please use the mailing list for support requests and general discussion. This is only for actual bugs.)
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-
-**To Reproduce**
-Steps to reproduce the behavior. Include code if applicable.
-1.
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Actual behavior**
-What actually happened.
-Include a recording if helpful.
-Error messages or logs longer than a page should be attached as a .txt file.
-
-**Desktop (please complete the following information):**
- - OS: [e.g. Mac OS]
- - OS Version [e.g. 22]
- - PortAudio version: stable, nightly snapshot (which?), current (please give date and/or Git hash):
- - If Windows or Linux, which Host API (e.g. WASAPI):
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/portaudio/.github/workflows/MSBuild.yml b/portaudio/.github/workflows/MSBuild.yml
deleted file mode 100644
index fa61d1a..0000000
--- a/portaudio/.github/workflows/MSBuild.yml
+++ /dev/null
@@ -1,96 +0,0 @@
-name: MSBuild MSVC Project File CI
-
-on: [push, pull_request]
-
-env:
- # Path to the solution file relative to the root of the project.
- SOLUTION_FILE_PATH: ./build/msvc/portaudio.sln
- VCPROJ_FILE_PATH: ./build/msvc/portaudio.vcproj
- VCXPROJ_FILE_PATH: ./build/msvc/portaudio.vcxproj
- VCXPROJ_FILTERS_FILE_PATH: ./build/msvc/portaudio.vcxproj.filters
- VCXPROJ_USER_FILE_PATH: ./build/msvc/portaudio.vcxproj.user
- DEF_FILE_PATH: ./build/msvc/portaudio.def
-
-jobs:
- build:
- runs-on: windows-latest
- strategy:
- matrix:
- BUILD_CONFIGURATION: [Release]
- BUILD_PLATFORM: [Win32, x64]
-
- steps:
- - name: Add MSBuild to PATH
- uses: microsoft/setup-msbuild@v1
-
- - uses: actions/checkout@v2
-
- - name: Upgrade VC Project File
- # We maintain our vcproj file in an old format to maintain backwards compatibility
- # This step upgrades the project to the latest version of MSVC
- # see https://docs.microsoft.com/en-us/visualstudio/ide/reference/upgrade-devenv-exe?view=vs-2019
- # pipe to file to ensure that it terminates https://stackoverflow.com/questions/48896010/occasionally-occurring-msbuild-error-msb3428/48918105#48918105
- # discussion of using vswhere.exe here: https://stackoverflow.com/questions/65287456/how-to-upgrade-a-visual-studio-project-from-within-a-github-action/65311868#65311868
- run: |
- $devenv = & vswhere.exe '-property' productPath
- Write-Output "$devenv"
- & $devenv "${{env.VCPROJ_FILE_PATH}}" /Upgrade /NoSplash | Out-Null
- Write-Output "devenv launched"
- while (!(Test-Path "${{env.VCXPROJ_FILE_PATH}}")) { Start-Sleep -Seconds 10 }
- Write-Output "vcxproj found"
- while (!(Test-Path "${{env.VCXPROJ_FILTERS_FILE_PATH}}")) { Start-Sleep -Seconds 10 }
- Write-Output "vcxproj.filters found"
- Start-Sleep -Seconds 10
- Write-Output "done."
-
- - name: Remove ASIO Files and Enable PA_USE_DS=1
- # Process the project files to remove ASIO-related sources and includes (since we can not access the ASIO SDK in a public build)
- run: |
- # Process .vcxproj file: remove source files
- $xdoc = new-object System.Xml.XmlDocument
- $vcxprojFile = resolve-path("${{env.VCXPROJ_FILE_PATH}}")
- $xdoc.load($vcxprojFile)
- $namespace = New-Object -TypeName "Xml.XmlNamespaceManager" -ArgumentList $xdoc.NameTable
- $namespace.AddNamespace("vs", $xdoc.DocumentElement.NamespaceURI)
- $nodes = $xdoc.SelectNodes("//vs:ClCompile[contains(@Include, '..\src\hostapi\asio')]", $namespace)
- Write-Output "deleting ASIO related compilation nodes from .vcxproj:"
- Write-Output $nodes
- ForEach($node in $nodes) {
- $parent = $node.ParentNode
- $parent.RemoveChild($node)
- }
- # Enable DirectSound host API
- $nodes = $xdoc.SelectNodes("//vs:PreprocessorDefinitions[contains(., 'PA_USE_DS=0')]", $namespace)
- ForEach($node in $nodes) {
- $text = $node.InnerText
- $node.InnerText = $text -replace 'PA_USE_DS=0', 'PA_USE_DS=1'
- }
- $xdoc.save($vcxprojFile)
- # Process .vcxproj.filters file: remove source files and includes
- $vcxprojFiltersFile = resolve-path("${{env.VCXPROJ_FILTERS_FILE_PATH}}")
- $xdoc.load($vcxprojFiltersFile)
- $namespace = New-Object -TypeName "Xml.XmlNamespaceManager" -ArgumentList $xdoc.NameTable
- $namespace.AddNamespace("vs", $xdoc.DocumentElement.NamespaceURI)
- $nodes = $xdoc.SelectNodes("//vs:ClCompile[contains(@Include, '..\src\hostapi\asio')]", $namespace)
- Write-Output "deleting ASIO related compilation nodes from .vcxproj.filters:"
- Write-Output $nodes
- ForEach($node in $nodes) {
- $parent = $node.ParentNode
- $parent.RemoveChild($node)
- }
- $nodes = $xdoc.SelectNodes("//vs:ClInclude[contains(@Include, 'pa_asio.h')]", $namespace)
- Write-Output "deleting ASIO related include nodes from .vcxproj.filters:"
- Write-Output $nodes
- ForEach($node in $nodes) {
- $parent = $node.ParentNode
- $parent.RemoveChild($node)
- }
- $xdoc.save($vcxprojFiltersFile)
- # Process .def file: remove PaAsio_ symbols
- Set-Content -Path "${{env.DEF_FILE_PATH}}" -Value (Get-Content -Path "${{env.DEF_FILE_PATH}}" | Select-String -Pattern 'PaAsio_' -NotMatch)
-
- - name: Build
- working-directory: ${{env.GITHUB_WORKSPACE}}
- # Add additional options to the MSBuild command line here (like platform or verbosity level).
- # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
- run: msbuild /m /p:Configuration=${{matrix.BUILD_CONFIGURATION}} /p:Platform=${{matrix.BUILD_PLATFORM}} ${{env.VCXPROJ_FILE_PATH}}
diff --git a/portaudio/.github/workflows/c-cpp.yml b/portaudio/.github/workflows/c-cpp.yml
deleted file mode 100644
index 180b46b..0000000
--- a/portaudio/.github/workflows/c-cpp.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: C/C++ CI
-
-on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
-jobs:
- build:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: configure
- run: ./configure
- - name: make
- run: make
-
- build-cmake:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: cmake
- run: cmake .
- - name: make
- run: make
-
- build-cmake-msvc:
-
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v1
- - name: cmake
- run: cmake .
- - name: build
- run: cmake --build .
-
- build-cmake-mingw:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: apt
- run: sudo apt-get install mingw-w64
- - name: cmake
- run: cmake -DCMAKE_TOOLCHAIN_FILE=i686-w64-mingw32.cmake .
- - name: make
- run: make