Browse Source

Fix CI/CD by adding portaudio system-level dependency

tags/v0.3.9-rc1
haixuantao 1 year ago
parent
commit
795cd9b436
2 changed files with 22 additions and 0 deletions
  1. +10
    -0
      .github/workflows/node-hub-ci-cd.yml
  2. +12
    -0
      node-hub/dora-pyaudio/README.md

+ 10
- 0
.github/workflows/node-hub-ci-cd.yml View File

@@ -48,6 +48,16 @@ jobs:
git submodule update --init --recursive
git submodule update --remote --recursive

- name: Install system-level dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get install portaudio19-dev

- name: Install system-level dependencies for MacOS
if: runner.os == 'Mac' || github.event_name == 'workflow_dispatch' || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))
run: |
brew install portaudio

- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
if: runner.os == 'Linux'


+ 12
- 0
node-hub/dora-pyaudio/README.md View File

@@ -2,6 +2,18 @@

## Getting started

- (MacOS) Install `portaudio`

```bash
brew install portaudio
```

- (Linux) Install `portaudio`

```bash
sudo apt-get install portaudio19-dev python-all-dev
```

- Install it with pip:

```bash


Loading…
Cancel
Save