You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run every script from the root of the repository. The header comment or docstring of each script gives its arguments.
On a machine that other agents share, run heavy commands through scripts/heavy-lock.sh
(docs/development.md). tools/ holds the larger host programs
(asr-eval, ui-fidelity, model-host) and tools/fetch-youtube-audio.sh, which makes local test audio that is
never committed.
Setup and native runtime
Script
Purpose
setup.sh
Prepares the native build inputs: the pinned libopus source, the sherpa-onnx AAR in native/m2 and the Whistle inputs. Run it after a clone.
fetch-native-aar.sh, fetch-opus-source.sh
The download steps of setup.sh, each checked against its pin.
build-native-aar.sh
Builds the sherpa-onnx AAR from source with streaming-diarization.patch (docs/native-runtime.md).
verify-native-runtime.sh
Checks native/m2 against native-dependencies.json, the patch and the version catalog.
native-common.sh
Shared shell helpers of the native scripts (sourced, not run).
Build, verify and package the private Whistle runtime (whistle/README.md).
package-native-sources.py
Collects the pinned native sources that accompany a release.
Checks that CI runs outside Gradle
Script
Purpose
check-links.sh
Relative links of the Markdown files.
check-verbatim.sh, check-verbatim.baseline
Differences of the verbatim engine code from 0.1.0 (CONTRIBUTING.md).
check-ux-pin.py
The vendored cassini-ux contracts against their byte pins in third_party/cassini-ux/.
check-import-types.py
Manifest Open with and Share filters against the vendored import-types contract.
check-brand-color-literals.py
No authored colour values in production sources.
check-nav-mark.py
The Saturn mark sources and their density exports (nav-mark.json, mid-mark.json, launcher-mark.json).
check-resource-collisions.py
No resource name in both :app and :ui.
check-native-paths.py
The path triggers of native.yml list exactly the native build scripts.
check-runner-selection.py
The CM_RUNNER variable moves jobs to self-hosted runners only safely.
Generated resources
These scripts write Android resources from the checksum-pinned cassini-ux inputs. CI checks that the committed output matches: --check (directly or through tests/ci/) for the resources, check-nav-mark.py for the mark.