Main Branch CI #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main Branch CI | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main, ffi-wrapper, ffi-wrapper-text-pkg] | |
schedule: | |
- cron: "0 0 * * *" # Every day at midnight | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
flutter-tests: | |
name: Test mediapipe_core against ${{ matrix.flutter_version }} | |
runs-on: ${{ matrix.os }} | |
# Skip running job on forks | |
if: github.repository == 'google/flutter-mediapipe' | |
strategy: | |
fail-fast: false | |
matrix: | |
flutter_version: [master] | |
# TODO(craiglabenz): reverse once CI works | |
# flutter_version: [stable, beta, master] | |
# TODO(craiglabenz): Add `ubuntu-latest` and `windows-latest` when those artifacts exist | |
os: [macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: ${{ matrix.flutter_version }} | |
- run: ./tool/mediapipe_ci_script_${{ matrix.flutter_version }}.sh |