Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev.ej/fix docs ci #618

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,14 @@ jobs:
token: ${{ secrets.SGILE_PAT }}
submodules: recursive
fetch-depth: 0 # fetch all commits/branches
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
miniforge-version: latest
conda-remove-defaults: true
- name: Install libsndfile
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1
cache: "pip"
- name: Install dependencies and package
run: |
pip install --upgrade pip
CUDA_TAG=cpu pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install cython
pip install -e .
- name: Install documentation dependencies
run: |
pip install -r docs/requirements.txt
pip install -e . -r docs/requirements.txt
- name: Setup doc deploy
run: |
git config user.name 'github-actions[bot]'
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,25 +92,14 @@ jobs:
token: ${{ secrets.SGILE_PAT }}
submodules: recursive
fetch-depth: 0 # fetch all commits/branches
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v3
- uses: actions/setup-python@v5
with:
python-version: "3.10"
miniforge-version: latest
conda-remove-defaults: true
- name: Install libsndfile
run: |
sudo apt-get update
sudo apt-get install -y libsndfile1
cache: "pip"
- name: Install dependencies and package
run: |
pip install --upgrade pip
CUDA_TAG=cpu pip install -r requirements.torch.txt --find-links https://download.pytorch.org/whl/torch_stable.html
pip install cython
pip install -e .
- name: Install documentation dependencies
run: |
pip install -r docs/requirements.txt
pip install -e . -r docs/requirements.txt
- name: Setup doc deploy
run: |
git config user.name 'github-actions[bot]'
Expand Down
Loading