Skip to content

Commit

Permalink
Fix CI/CD by adding portaudio system-level dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Jan 14, 2025
1 parent 54148c0 commit 5e622eb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/node-hub-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 python-all-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'
Expand Down
12 changes: 12 additions & 0 deletions node-hub/dora-pyaudio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e622eb

Please sign in to comment.