From 966afd2b53b8c8ccff7f726c72a5c299c121b2d5 Mon Sep 17 00:00:00 2001 From: Edison Jwa Date: Tue, 2 Jun 2026 19:33:02 +0900 Subject: [PATCH] ci: fix Apple CoreML VAD checks --- .github/workflows/bench-advisory.yml | 5 +++-- .github/workflows/ci.yml | 13 ++++++++++++- apps/chanora_flutter/pubspec.lock | 8 ++++---- docs/security/flutter-license-inventory.md | 9 ++++----- 4 files changed, 23 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bench-advisory.yml b/.github/workflows/bench-advisory.yml index 265e698..1b4b6d0 100644 --- a/.github/workflows/bench-advisory.yml +++ b/.github/workflows/bench-advisory.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 030c1a5..24bbc71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/apps/chanora_flutter/pubspec.lock b/apps/chanora_flutter/pubspec.lock index 957683c..43275f1 100644 --- a/apps/chanora_flutter/pubspec.lock +++ b/apps/chanora_flutter/pubspec.lock @@ -457,10 +457,10 @@ packages: dependency: transitive description: name: meta - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" + sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349" url: "https://pub.dev" source: hosted - version: "1.17.0" + version: "1.18.0" mime: dependency: transitive description: @@ -790,10 +790,10 @@ packages: dependency: transitive description: name: test_api - sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a" + sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e" url: "https://pub.dev" source: hosted - version: "0.7.10" + version: "0.7.11" typed_data: dependency: transitive description: diff --git a/docs/security/flutter-license-inventory.md b/docs/security/flutter-license-inventory.md index 5fe3902..7c6b7b4 100644 --- a/docs/security/flutter-license-inventory.md +++ b/docs/security/flutter-license-inventory.md @@ -74,7 +74,7 @@ terms. | `logging` | 1.3.0 | hosted | yes | | `matcher` | 0.12.19 | hosted | yes | | `material_color_utilities` | 0.13.0 | hosted | yes | -| `meta` | 1.17.0 | hosted | yes | +| `meta` | 1.18.0 | hosted | yes | | `mime` | 2.0.0 | hosted | yes | | `native_toolchain_c` | 0.17.6 | hosted | yes | | `nm` | 0.5.0 | hosted | yes | @@ -116,7 +116,7 @@ terms. | `stream_transform` | 2.1.1 | hosted | yes | | `string_scanner` | 1.4.1 | hosted | yes | | `term_glyph` | 1.2.2 | hosted | yes | -| `test_api` | 0.7.10 | hosted | yes | +| `test_api` | 0.7.11 | hosted | yes | | `typed_data` | 1.4.0 | hosted | yes | | `url_launcher` | 6.3.2 | hosted | yes | | `url_launcher_android` | 6.3.30 | hosted | yes | @@ -2813,7 +2813,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. limitations under the License. ``` -### meta 1.17.0 +### meta 1.18.0 ``` Copyright 2016, the Dart project authors. @@ -4641,7 +4641,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ``` -### test_api 0.7.10 +### test_api 0.7.11 ``` Copyright 2018, the Dart project authors. @@ -5281,4 +5281,3 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -