Skip to content

Commit

Permalink
Merge branch 'main' into feat/moonshine
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Dec 24, 2024
2 parents 7859cb5 + 1adc5ff commit dcfb2a3
Show file tree
Hide file tree
Showing 46 changed files with 925 additions and 583 deletions.
52 changes: 52 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Bug Report
description: File a bug report
title: "[Title here. keep it short]"
labels: ["bug"]
assignees:
- octocat
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
One second before you create, search if it's already created [issues](https://github.com/thewh1teagle/vibe/issues?q=is:issue+label:bug+)
Also, you can try enable debug mode by set `debug: true` in the creation of the struct and rerun to see more logs.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: |
1. Step one...
2. Step two...
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What OS are you seeing the problem on?
multiple: true
options:
- Window
- Linux
- MacOS
- type: textarea
id: logs
attributes:
label: Relevant log output
description: |
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Feature request
description: Suggest an idea for this project
title: '[Title here. keep it short]'
labels: ['feature']
assignees:
- thewh1teagle
body:
- type: markdown
attributes:
value: |
💚💜 Thank you for interest. ❤️💛
*Please prioritize checking existing issues first*. [bugs](https://github.com/thewh1teagle/sherpa-rs/issues?q=is:issue+label:bug+)
I will repay with higher-quality code.
- type: textarea
id: describe-the-feature
attributes:
label: Describe the feature
description: Also tell us why you think it useful
placeholder: Description...
validations:
required: true
49 changes: 0 additions & 49 deletions .github/scripts/bump.js

This file was deleted.

32 changes: 0 additions & 32 deletions .github/scripts/notes.js

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ tokens.txt
.DS_Store
venv/
vits-piper*
sherpa-onnx/
*.wav
!samples/*.wav
*.bz2
Expand All @@ -13,11 +14,13 @@ sherpa-onnx-pyannote-*
sherpa-onnx-zipformer-*
sherpa-onnx-moonshine-*
*.txt
!checksum.txt
sherpa-onnx-v*
jniLibs
sys/src/bindings.rs
!sys/dist.txt
sherpa-onnx-punct*
vits-*
sherpa-onnx-kws-*
.tmp/
.tmp/
jniLibs/
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "sys/sherpa-onnx"]
path = sys/sherpa-onnx
[submodule "crates/sherpa-rs-sys/sherpa-onnx"]
path = crates/sherpa-rs-sys/sherpa-onnx
url = https://github.com/k2-fsa/sherpa-onnx
38 changes: 37 additions & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,41 @@ shasum -a 256 <path> | tr 'a-z' 'A-Z'
## See debug log from build

```
BUILD_DEBUG=1 cargo build -vv
SHERPA_BUILD_DEBUG=1 cargo build -vv
```

## Build for Android

You must install NDK from Android Studio settings.

```console
rustup target add aarch64-linux-android
cargo install cargo-ndk
export NDK_HOME="$HOME/Library/Android/sdk/ndk/27.0.12077973"
cargo ndk -t arm64-v8a -o ./jniLibs build --release
```

## Build for IOS

Install Xcode command line tools

```console
xcode-select --install
```

Install toolchain

```console
# IOS
rustup target add aarch64-apple-ios
# Intel chip emulator
rustup target add x86_64-apple-ios
# Apple chip emulator
rustup target add aarch64-apple-ios-sim
```

Build

```console
cargo build --release --target aarch64-apple-ios
```
Loading

0 comments on commit dcfb2a3

Please sign in to comment.