Skip to content

Commit ca262a5

Browse files
Merge branch 'flutter:main' into Flutter-3.27-beta
2 parents 1f9746d + 85575f6 commit ca262a5

File tree

1,410 files changed

+52392
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,410 files changed

+52392
-2
lines changed

.github/workflows/flutter-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
distribution: 'zulu' # See https://github.com/actions/setup-java#supported-distributions
3333
java-version: "17"
34-
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
34+
- uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff
3535
with:
3636
channel: ${{ matrix.flutter_version }}
3737
- run: dart --version

flutter_ci_script_beta.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ declare -a CODELABS=(
2525
"haiku_generator"
2626
"homescreen_codelab"
2727
"in_app_purchases"
28+
# TODO(domesticmouse): Add after beta is above Dart 3.7.0-0
29+
# "intro_flutter_gpu"
2830
"namer"
2931
"next-gen-ui"
3032
"testing_codelab"

flutter_ci_script_master.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ declare -a CODELABS=(
2525
"haiku_generator"
2626
"homescreen_codelab"
2727
"in_app_purchases"
28+
"intro_flutter_gpu"
2829
"namer"
2930
"next-gen-ui"
3031
"testing_codelab"

flutter_ci_script_shared.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,19 @@ function ci_codelabs () {
4747
if [ -d "test" ]
4848
then
4949
if grep -q "flutter:" "pubspec.yaml"; then
50-
flutter test
50+
51+
# intro_flutter_gpu only runs with Impeller
52+
if [ $CODELAB = 'intro_flutter_gpu' ]; then
53+
if [ $RUNNER_OS = 'macOS' ] || [ $RUNNER_OS = 'Windows' ]; then
54+
flutter config --enable-native-assets
55+
flutter build `echo $RUNNER_OS | tr '[:upper:]' '[:lower:]'` --debug
56+
flutter test --enable-impeller
57+
else
58+
echo "Skipping $CODELAB on $RUNNER_OS"
59+
fi
60+
else
61+
flutter test
62+
fi
5163
else
5264
# If the project is not a Flutter project, use the Dart CLI.
5365
dart test

flutter_ci_script_stable.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ declare -a CODELABS=(
2525
"haiku_generator"
2626
"homescreen_codelab"
2727
"in_app_purchases"
28+
# TODO(domesticmouse): Add after stable is above Dart 3.7.0-0
29+
# "intro_flutter_gpu"
2830
"namer"
2931
"next-gen-ui"
3032
"testing_codelab"

0 commit comments

Comments
 (0)