Radamés Ajna
Duplicate from facebook/MusicGen
3ae65e0
raw
history blame
746 Bytes
name: audiocraft_build
description: 'Build audiocraft env.'
runs:
using: "composite"
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/cache@v2
id: cache
with:
path: env
key: audiocraft_env-${{ hashFiles('**/requirements.txt') }}
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install libsndfile1-dev ffmpeg
python3 -m venv env
. env/bin/activate
python -m pip install --upgrade pip
pip install -e '.[dev]'
- name: System Dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install libsndfile1-dev ffmpeg