mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-13 12:02:19 +00:00
small fixes
This commit is contained in:
parent
9dabe5e130
commit
9b18a30abe
25
.github/workflows/windows-x64-cpu-wheels.yml
vendored
25
.github/workflows/windows-x64-cpu-wheels.yml
vendored
@ -43,6 +43,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: display
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
function retry() {
|
||||||
|
$* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*)
|
||||||
|
}
|
||||||
|
|
||||||
|
retry ls -lh
|
||||||
|
|
||||||
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
# see https://cibuildwheel.readthedocs.io/en/stable/changelog/
|
||||||
# for a list of versions
|
# for a list of versions
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@ -56,6 +65,11 @@ jobs:
|
|||||||
- name: Display wheels
|
- name: Display wheels
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
|
function retry() {
|
||||||
|
$* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*)
|
||||||
|
}
|
||||||
|
|
||||||
ls -lh ./wheelhouse/
|
ls -lh ./wheelhouse/
|
||||||
|
|
||||||
ls -lh ./wheelhouse/*.whl
|
ls -lh ./wheelhouse/*.whl
|
||||||
@ -76,7 +90,8 @@ jobs:
|
|||||||
git config --global user.email "csukuangfj@gmail.com"
|
git config --global user.email "csukuangfj@gmail.com"
|
||||||
git config --global user.name "Fangjun Kuang"
|
git config --global user.name "Fangjun Kuang"
|
||||||
|
|
||||||
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/csukuangfj/kaldifeat huggingface
|
export GIT_LFS_SKIP_SMUDGE=1
|
||||||
|
git clone https://huggingface.co/csukuangfj/kaldifeat huggingface
|
||||||
|
|
||||||
cd huggingface
|
cd huggingface
|
||||||
git pull
|
git pull
|
||||||
@ -85,9 +100,11 @@ jobs:
|
|||||||
git status
|
git status
|
||||||
git lfs track "*.whl"
|
git lfs track "*.whl"
|
||||||
|
|
||||||
git add .
|
function retry() {
|
||||||
|
$* || (sleep 1 && $*) || (sleep 2 && $*) || (sleep 4 && $*) || (sleep 8 && $*)
|
||||||
|
}
|
||||||
|
|
||||||
|
retry git pull && cp -v ../wheelhouse/*.whl ./windows-cpu && git status && git add . && git commit -m "upload windows-cpu wheel for torch ${{ matrix.torch }} python ${{ matrix.python-version }}" && git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/kaldifeat main
|
||||||
|
|
||||||
git commit -m "upload windows-cpu wheel for torch ${{ matrix.torch }} python ${{ matrix.python-version }}"
|
|
||||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/kaldifeat main
|
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf huggingface
|
rm -rf huggingface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user