mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 10:02:20 +00:00
fix building doc
This commit is contained in:
parent
af6e61a5a3
commit
114ea348a7
12
.github/workflows/build-doc.yml
vendored
12
.github/workflows/build-doc.yml
vendored
@ -23,6 +23,7 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- doc
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-doc:
|
||||
@ -46,6 +47,17 @@ jobs:
|
||||
- name: Display Python version
|
||||
run: python -c "import sys; print(sys.version)"
|
||||
|
||||
- name: Update wheels
|
||||
shell: bash
|
||||
run: |
|
||||
export GIT_LFS_SKIP_SMUDGE=1
|
||||
git clone https://huggingface.co/csukuangfj/kaldifeat huggingface
|
||||
cd huggingface
|
||||
|
||||
export KALDIFEAT_DIR=$PWD
|
||||
ls -lh $KALDIFEAT_DIR
|
||||
./run.sh
|
||||
|
||||
- name: Build doc
|
||||
shell: bash
|
||||
run: |
|
||||
|
2
.github/workflows/publish_to_pypi.yml
vendored
2
.github/workflows/publish_to_pypi.yml
vendored
@ -20,6 +20,7 @@ on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
pypi:
|
||||
@ -39,6 +40,7 @@ jobs:
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install wheel twine setuptools
|
||||
python3 -m pip install torch==1.10.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user