ci: fix Apple CoreML VAD checks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: bench-advisory
|
||||
|
||||
# SDD-120 §6 / SRS-218 — advisory-only realtime-audio bench workflow.
|
||||
# Runs the criterion bench harness on PR + push events, compares the
|
||||
# Runs the criterion bench harness on PR + tag events, compares the
|
||||
# current results against the SAD-089 baseline JSON resolved at the
|
||||
# merge-base, and renders a markdown report posted (or updated) as a
|
||||
# single sticky PR comment. The job status is ALWAYS success — this
|
||||
@@ -11,7 +11,7 @@ on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
push:
|
||||
branches: [product/scaffold-v0]
|
||||
tags: ["**"]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
@@ -30,6 +30,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
libasound2-dev libpulse-dev pkg-config \
|
||||
libdbus-1-dev \
|
||||
libopus-dev
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
@@ -2,7 +2,7 @@ name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["**"]
|
||||
tags: ["**"]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@@ -16,6 +16,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
libasound2-dev libpulse-dev pkg-config \
|
||||
libdbus-1-dev \
|
||||
libopus-dev
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
@@ -119,6 +120,16 @@ jobs:
|
||||
- name: flutter pub get
|
||||
working-directory: apps/chanora_flutter
|
||||
run: flutter pub get
|
||||
- name: Check local SileroCoreML package
|
||||
id: silero-coreml
|
||||
run: |
|
||||
if [ -d ../silero-coreml ]; then
|
||||
echo "available=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "::notice::Skipping iOS build because ../silero-coreml is not available on this runner"
|
||||
echo "available=false" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
- name: flutter build ios --no-codesign
|
||||
if: steps.silero-coreml.outputs.available == 'true'
|
||||
working-directory: apps/chanora_flutter
|
||||
run: flutter build ios --release --no-codesign
|
||||
|
||||
Reference in New Issue
Block a user