forked from thewh1teagle/kokoro-onnx
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 1.2 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: test
on:
workflow_dispatch:
jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: "macos-14" # for Arm based macs (M1 and above).
- platform: "macos-13" # for Intel based macs.
- platform: "ubuntu-22.04" # Ubuntu 22.04 x86_64
- platform: "ubuntu-22.04-arm" # Linux ARM
- platform: "windows-2022" # Windows x86_64
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
# https://github.com/crate-ci/typos/issues/1191
- name: Install wget for Windows
if: matrix.platform == 'windows-2022'
run: choco install wget --no-progress
- name: test
run: |
wget --progress=bar:force:noscroll https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/kokoro-v1.0.int8.onnx -O kokoro-v1.0.onnx
wget --progress=bar:force:noscroll https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/voices-v1.0.bin -O voices-v1.0.bin
uv run examples/save.py
shell: bash