Minor fixes.

This commit is contained in:
Fangjun Kuang 2022-06-03 12:38:02 +08:00
parent a6d33c5291
commit 69a1347a7d
4 changed files with 10 additions and 4 deletions

View File

@ -76,7 +76,12 @@ jobs:
- name: Install kaldifeat and run tests
shell: bash -l {0}
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1-dev libsndfile1 ffmpeg
conda install -y -c kaldifeat -c pytorch cpuonly pytorch=${{ matrix.torch }} kaldifeat python=${{ matrix.python-version }}
conda install -y -c conda-forge pysoundfile
cd kaldifeat/python/tests
make test

View File

@ -77,6 +77,7 @@ jobs:
shell: bash -l {0}
run: |
conda install -y -c kaldifeat -c pytorch -c conda-forge pytorch=${{ matrix.torch }} cudatoolkit=${{ matrix.cuda }} kaldifeat python=${{ matrix.python-version }}
conda install -y -c conda-forge pysoundfile
cd kaldifeat/python/tests
make test

View File

@ -70,8 +70,8 @@ jobs:
- name: Install PyTorch ${{ matrix.torch }}
shell: bash
run: |
sudo apt update
sudo apt install libsndfile1-dev libsndfile1 ffmpeg
sudo apt-get update
sudo apt-get install -y libsndfile1-dev libsndfile1 ffmpeg
python3 -m pip install --upgrade pip
python3 -m pip install wheel twine typing_extensions soundfile
python3 -m pip install bs4 requests tqdm numpy

View File

@ -90,8 +90,8 @@ jobs:
torch: ${{ matrix.torch }}
shell: bash
run: |
sudo apt update
sudo apt install libsndfile1-dev libsndfile1 ffmpeg
sudo apt-get update
sudo apt-get install -y libsndfile1-dev libsndfile1 ffmpeg
python3 -m pip install --upgrade pip
python3 -m pip install wheel twine typing_extensions soundfile
python3 -m pip install bs4 requests tqdm numpy