mirror of
https://github.com/chidiwilliams/buzz.git
synced 2024-06-09 11:42:12 +02:00
Download Whisper.cpp from const-me/whisper
This commit is contained in:
parent
e907614e7a
commit
50104ea83f
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -63,6 +63,13 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
||||
- name: Install Whisper.cpp
|
||||
run: |
|
||||
curl -OL "https://github.com/Const-me/Whisper/releases/download/1.11.0/cli.zip"
|
||||
unzip cli.zip
|
||||
mv main.exe whisper_cpp.exe
|
||||
if: "startsWith(matrix.os, 'windows-')"
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
|
@ -72,12 +79,6 @@ jobs:
|
|||
sudo apt install -y libpulse-mainloop-glib0 libegl1-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libportaudio2
|
||||
fi
|
||||
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
curl -OL "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-bin-x64.zip"
|
||||
unzip whisper-bin-x64.zip
|
||||
mv main.exe whisper_cpp.exe
|
||||
fi
|
||||
|
||||
poetry run make test
|
||||
shell: bash
|
||||
|
||||
|
@ -124,6 +125,13 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
||||
- name: Install Whisper.cpp
|
||||
run: |
|
||||
curl -OL "https://github.com/Const-me/Whisper/releases/download/1.11.0/cli.zip"
|
||||
unzip cli.zip
|
||||
mv main.exe whisper_cpp.exe
|
||||
if: "startsWith(matrix.os, 'windows-')"
|
||||
|
||||
- name: Bundle
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
|
@ -153,10 +161,6 @@ jobs:
|
|||
|
||||
elif [ "$RUNNER_OS" == "Windows" ]; then
|
||||
|
||||
curl -OL "https://github.com/ggerganov/whisper.cpp/releases/download/v1.3.0/whisper-bin-x64.zip"
|
||||
unzip whisper-bin-x64.zip
|
||||
mv main.exe whisper_cpp.exe
|
||||
|
||||
poetry run make bundle_windows
|
||||
|
||||
elif [ "$RUNNER_OS" == "Linux" ]; then
|
||||
|
|
Loading…
Reference in a new issue