Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@ on:
workflow_dispatch:

jobs:
lint:
name: lint (rustfmt + clippy)
runs-on: ubuntu-latest
steps:
- name: Checkout (with vendored parakeet.cpp + ggml submodules)
uses: actions/checkout@v4
with:
submodules: recursive

- name: Ensure rustfmt + clippy components
run: rustup component add rustfmt clippy

- name: rustfmt
run: cargo fmt --all --check

# clippy compiles the vendored ggml (CPU-only here; the GPU backends are
# exercised by the build matrix). cmake + a C/C++ toolchain are needed.
- name: Install build deps
run: sudo apt-get update -y && sudo apt-get install -y cmake ninja-build build-essential

- name: clippy
run: cargo clippy --workspace --all-targets -- -D warnings

build:
name: build-${{ matrix.os }}-${{ matrix.kind }}
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# parakeet-cpp

[![ci](https://github.com/fiorelorenzo/parakeet-cpp/actions/workflows/ci.yml/badge.svg)](https://github.com/fiorelorenzo/parakeet-cpp/actions/workflows/ci.yml)

Safe Rust bindings for [mudler/parakeet.cpp](https://github.com/mudler/parakeet.cpp) — a
ggml-based C++ port of NVIDIA's Parakeet and Nemotron ASR models. Provides offline
one-shot transcription and two streaming modes (real cache-aware streaming and
Expand Down
Loading