Skip to content

Commit

Permalink
How should we install on Ubuntu on ARM Processors?
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 19, 2025
1 parent e4af8de commit ff258fe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:
strategy:
fail-fast: true
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
Expand All @@ -24,6 +24,8 @@ jobs:
python-version: "3.12"
- os: ubuntu-22.04
python-version: "3.13"
- os: ubuntu-22.04-arm
python-version: "3.13"
- os: windows-latest
python-version: "3.11"
runs-on: ${{ matrix.os }}
Expand All @@ -34,19 +36,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install build dependencies
if: matrix.os == 'ubuntu-22.04'
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y libpulse-dev libasound2-dev
sudo apt-get install --no-install-recommends -y portaudio19-dev
sudo apt-get install --no-install-recommends -y libpulse-dev libasound2-dev portaudio19-dev
- name: Install ffmpeg (for Whisper)
uses: FedericoCarboni/setup-ffmpeg@v3
- name: Install Python dependencies (Ubuntu, <=3.12)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version != '3.13'
if: runner.os == 'Linux' && matrix.python-version != '3.13'
run: |
python -m pip install .[dev,audio,pocketsphinx,google-cloud,whisper-local,faster-whisper,openai,groq]
- name: Install Python dependencies (Ubuntu, 3.13)
if: matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.13'
if: runner.os == 'Linux' && matrix.python-version == '3.13'
run: |
python -m pip install standard-aifc setuptools
python -m pip install --no-build-isolation .[dev,audio,pocketsphinx,google-cloud,openai,groq]
Expand Down

0 comments on commit ff258fe

Please sign in to comment.