|
|
|
|
@ -15,44 +15,42 @@ defaults:
|
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
# TODO(ewindmill) -- Something with Beta branch and shaders is broken
|
|
|
|
|
|
|
|
|
|
# Test all samples on the beta channel. Since the beta channel will soon be
|
|
|
|
|
# promoted to stable, this branch is only concerned with the beta.
|
|
|
|
|
# Beta-CI:
|
|
|
|
|
# name: Test flutter beta channel
|
|
|
|
|
# runs-on: ${{ matrix.os }}
|
|
|
|
|
# if: github.repository == 'flutter/samples'
|
|
|
|
|
# strategy:
|
|
|
|
|
# fail-fast: false
|
|
|
|
|
# matrix:
|
|
|
|
|
# os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
# steps:
|
|
|
|
|
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
|
|
|
# - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
|
|
|
|
|
# with:
|
|
|
|
|
# distribution: 'zulu'
|
|
|
|
|
# java-version: '17'
|
|
|
|
|
# - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
|
|
|
|
|
# with:
|
|
|
|
|
# channel: beta
|
|
|
|
|
# - run: flutter pub get && dart tool/ci_script.dart
|
|
|
|
|
Beta-CI:
|
|
|
|
|
name: Test flutter beta channel
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
if: github.repository == 'flutter/samples'
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
|
|
|
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
|
|
|
|
|
with:
|
|
|
|
|
distribution: 'zulu'
|
|
|
|
|
java-version: '17'
|
|
|
|
|
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
|
|
|
|
|
with:
|
|
|
|
|
channel: beta
|
|
|
|
|
- run: flutter pub get && dart tool/ci_script.dart
|
|
|
|
|
|
|
|
|
|
# Verify the Android add-to-app samples build and pass tests with the beta
|
|
|
|
|
# channel.
|
|
|
|
|
# android-build:
|
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
|
# if: github.repository == 'flutter/samples'
|
|
|
|
|
# steps:
|
|
|
|
|
# - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
|
|
|
# - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
|
|
|
|
|
# with:
|
|
|
|
|
# distribution: 'zulu'
|
|
|
|
|
# java-version: '17'
|
|
|
|
|
# - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
|
|
|
|
|
# with:
|
|
|
|
|
# channel: beta
|
|
|
|
|
# - run: ./tool/android_ci_script.sh
|
|
|
|
|
android-build:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
if: github.repository == 'flutter/samples'
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
|
|
|
|
|
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654
|
|
|
|
|
with:
|
|
|
|
|
distribution: 'zulu'
|
|
|
|
|
java-version: '17'
|
|
|
|
|
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
|
|
|
|
|
with:
|
|
|
|
|
channel: beta
|
|
|
|
|
- run: ./tool/android_ci_script.sh
|
|
|
|
|
|
|
|
|
|
# Verify the iOS add-to-app samples build and pass tests with the beta
|
|
|
|
|
# channel.
|
|
|
|
|
|