From 93731584ab0a46243138c82f9bb7be03ce17f369 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Tue, 1 Jul 2025 09:26:48 +1000 Subject: [PATCH 1/4] Revert "Enable `intro_flutter_gpu` on master CI (#2311)" This reverts commit dc096e3815e27c39958ff21583b07a696e1094bf. --- flutter_ci_script_master.sh | 3 ++- intro_flutter_gpu/codelab_rebuild.yaml | 6 +++--- intro_flutter_gpu/step_01/pubspec.yaml | 2 +- intro_flutter_gpu/step_01/test/widget_test.dart | 2 +- intro_flutter_gpu/step_02/pubspec.yaml | 2 +- intro_flutter_gpu/step_02/test/widget_test.dart | 2 +- intro_flutter_gpu/step_03/pubspec.yaml | 2 +- intro_flutter_gpu/step_03/test/widget_test.dart | 2 +- intro_flutter_gpu/step_04/pubspec.yaml | 2 +- intro_flutter_gpu/step_04/test/widget_test.dart | 2 +- intro_flutter_gpu/step_05/pubspec.yaml | 2 +- intro_flutter_gpu/step_05/test/widget_test.dart | 2 +- intro_flutter_gpu/step_06/pubspec.yaml | 2 +- intro_flutter_gpu/step_06/test/widget_test.dart | 2 +- intro_flutter_gpu/step_07/pubspec.yaml | 2 +- intro_flutter_gpu/step_07/test/widget_test.dart | 2 +- intro_flutter_gpu/step_08/pubspec.yaml | 2 +- intro_flutter_gpu/step_08/test/widget_test.dart | 2 +- intro_flutter_gpu/step_09/pubspec.yaml | 2 +- intro_flutter_gpu/step_09/test/widget_test.dart | 2 +- intro_flutter_gpu/step_10/pubspec.yaml | 2 +- intro_flutter_gpu/step_10/test/widget_test.dart | 2 +- intro_flutter_gpu/step_11/pubspec.yaml | 2 +- intro_flutter_gpu/step_11/test/widget_test.dart | 2 +- intro_flutter_gpu/step_12/pubspec.yaml | 2 +- intro_flutter_gpu/step_12/test/widget_test.dart | 2 +- 26 files changed, 29 insertions(+), 28 deletions(-) diff --git a/flutter_ci_script_master.sh b/flutter_ci_script_master.sh index 76937f3021..ecf6e720e9 100755 --- a/flutter_ci_script_master.sh +++ b/flutter_ci_script_master.sh @@ -28,7 +28,8 @@ declare -a CODELABS=( "haiku_generator" "homescreen_codelab" "in_app_purchases" - "intro_flutter_gpu" + # TODO(DomesticMouse): Figure out how to run `flutter test` + # "intro_flutter_gpu" "namer" "next-gen-ui" "testing_codelab" diff --git a/intro_flutter_gpu/codelab_rebuild.yaml b/intro_flutter_gpu/codelab_rebuild.yaml index ea1c18adb1..9b0d965f24 100644 --- a/intro_flutter_gpu/codelab_rebuild.yaml +++ b/intro_flutter_gpu/codelab_rebuild.yaml @@ -274,7 +274,7 @@ steps: testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); + }); } - name: Patch macos/Runner/Info.plist path: intro_flutter_gpu/macos/Runner/Info.plist @@ -2197,7 +2197,7 @@ steps: @override bool shouldRepaint(covariant CustomPainter oldDelegate) => true; } - - name: Patch test/widget_test.dart + - name: Patch text/widget_test.dart path: intro_flutter_gpu/test/widget_test.dart patch-u: | --- b/intro_flutter_gpu/step_12/test/widget_test.dart @@ -2218,7 +2218,7 @@ steps: + await tester.pumpWidget( + MainApp(staticResourcesInitialized: Scene.initializeStaticResources()), + ); - }, skip: true); + }); } - name: Copy step_12 copydir: diff --git a/intro_flutter_gpu/step_01/pubspec.yaml b/intro_flutter_gpu/step_01/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_01/pubspec.yaml +++ b/intro_flutter_gpu/step_01/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_01/test/widget_test.dart b/intro_flutter_gpu/step_01/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_01/test/widget_test.dart +++ b/intro_flutter_gpu/step_01/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_02/pubspec.yaml b/intro_flutter_gpu/step_02/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_02/pubspec.yaml +++ b/intro_flutter_gpu/step_02/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_02/test/widget_test.dart b/intro_flutter_gpu/step_02/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_02/test/widget_test.dart +++ b/intro_flutter_gpu/step_02/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_03/pubspec.yaml b/intro_flutter_gpu/step_03/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_03/pubspec.yaml +++ b/intro_flutter_gpu/step_03/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_03/test/widget_test.dart b/intro_flutter_gpu/step_03/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_03/test/widget_test.dart +++ b/intro_flutter_gpu/step_03/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_04/pubspec.yaml b/intro_flutter_gpu/step_04/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_04/pubspec.yaml +++ b/intro_flutter_gpu/step_04/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_04/test/widget_test.dart b/intro_flutter_gpu/step_04/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_04/test/widget_test.dart +++ b/intro_flutter_gpu/step_04/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_05/pubspec.yaml b/intro_flutter_gpu/step_05/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_05/pubspec.yaml +++ b/intro_flutter_gpu/step_05/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_05/test/widget_test.dart b/intro_flutter_gpu/step_05/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_05/test/widget_test.dart +++ b/intro_flutter_gpu/step_05/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_06/pubspec.yaml b/intro_flutter_gpu/step_06/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_06/pubspec.yaml +++ b/intro_flutter_gpu/step_06/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_06/test/widget_test.dart b/intro_flutter_gpu/step_06/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_06/test/widget_test.dart +++ b/intro_flutter_gpu/step_06/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_07/pubspec.yaml b/intro_flutter_gpu/step_07/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_07/pubspec.yaml +++ b/intro_flutter_gpu/step_07/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_07/test/widget_test.dart b/intro_flutter_gpu/step_07/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_07/test/widget_test.dart +++ b/intro_flutter_gpu/step_07/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_08/pubspec.yaml b/intro_flutter_gpu/step_08/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_08/pubspec.yaml +++ b/intro_flutter_gpu/step_08/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_08/test/widget_test.dart b/intro_flutter_gpu/step_08/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_08/test/widget_test.dart +++ b/intro_flutter_gpu/step_08/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_09/pubspec.yaml b/intro_flutter_gpu/step_09/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_09/pubspec.yaml +++ b/intro_flutter_gpu/step_09/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_09/test/widget_test.dart b/intro_flutter_gpu/step_09/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_09/test/widget_test.dart +++ b/intro_flutter_gpu/step_09/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_10/pubspec.yaml b/intro_flutter_gpu/step_10/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_10/pubspec.yaml +++ b/intro_flutter_gpu/step_10/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_10/test/widget_test.dart b/intro_flutter_gpu/step_10/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_10/test/widget_test.dart +++ b/intro_flutter_gpu/step_10/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_11/pubspec.yaml b/intro_flutter_gpu/step_11/pubspec.yaml index 589fb2b886..c6a0a2ada2 100644 --- a/intro_flutter_gpu/step_11/pubspec.yaml +++ b/intro_flutter_gpu/step_11/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_11/test/widget_test.dart b/intro_flutter_gpu/step_11/test/widget_test.dart index c8810a3ffd..830f1414b2 100644 --- a/intro_flutter_gpu/step_11/test/widget_test.dart +++ b/intro_flutter_gpu/step_11/test/widget_test.dart @@ -10,5 +10,5 @@ void main() { testWidgets('smoke test', (tester) async { // Build our app and trigger a frame. await tester.pumpWidget(const MainApp()); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } diff --git a/intro_flutter_gpu/step_12/pubspec.yaml b/intro_flutter_gpu/step_12/pubspec.yaml index ecf33ef0e1..34b676a24c 100644 --- a/intro_flutter_gpu/step_12/pubspec.yaml +++ b/intro_flutter_gpu/step_12/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.1 + sdk: ^3.8.0 dependencies: flutter: diff --git a/intro_flutter_gpu/step_12/test/widget_test.dart b/intro_flutter_gpu/step_12/test/widget_test.dart index 558000a649..0d3fd1138b 100644 --- a/intro_flutter_gpu/step_12/test/widget_test.dart +++ b/intro_flutter_gpu/step_12/test/widget_test.dart @@ -13,5 +13,5 @@ void main() { await tester.pumpWidget( MainApp(staticResourcesInitialized: Scene.initializeStaticResources()), ); - }, skip: true); // See https://github.com/flutter/flutter/issues/171361 + }); } From a2db24a48f06e79df2b769e7f98fae717c8b9d8c Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Tue, 1 Jul 2025 09:30:34 +1000 Subject: [PATCH 2/4] Trim down the revert --- flutter_ci_script_master.sh | 3 +-- intro_flutter_gpu/step_01/pubspec.yaml | 2 +- intro_flutter_gpu/step_02/pubspec.yaml | 2 +- intro_flutter_gpu/step_03/pubspec.yaml | 2 +- intro_flutter_gpu/step_04/pubspec.yaml | 2 +- intro_flutter_gpu/step_05/pubspec.yaml | 2 +- intro_flutter_gpu/step_06/pubspec.yaml | 2 +- intro_flutter_gpu/step_07/pubspec.yaml | 2 +- intro_flutter_gpu/step_08/pubspec.yaml | 2 +- intro_flutter_gpu/step_09/pubspec.yaml | 2 +- intro_flutter_gpu/step_10/pubspec.yaml | 2 +- intro_flutter_gpu/step_11/pubspec.yaml | 2 +- intro_flutter_gpu/step_12/pubspec.yaml | 2 +- 13 files changed, 13 insertions(+), 14 deletions(-) diff --git a/flutter_ci_script_master.sh b/flutter_ci_script_master.sh index ecf6e720e9..76937f3021 100755 --- a/flutter_ci_script_master.sh +++ b/flutter_ci_script_master.sh @@ -28,8 +28,7 @@ declare -a CODELABS=( "haiku_generator" "homescreen_codelab" "in_app_purchases" - # TODO(DomesticMouse): Figure out how to run `flutter test` - # "intro_flutter_gpu" + "intro_flutter_gpu" "namer" "next-gen-ui" "testing_codelab" diff --git a/intro_flutter_gpu/step_01/pubspec.yaml b/intro_flutter_gpu/step_01/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_01/pubspec.yaml +++ b/intro_flutter_gpu/step_01/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_02/pubspec.yaml b/intro_flutter_gpu/step_02/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_02/pubspec.yaml +++ b/intro_flutter_gpu/step_02/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_03/pubspec.yaml b/intro_flutter_gpu/step_03/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_03/pubspec.yaml +++ b/intro_flutter_gpu/step_03/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_04/pubspec.yaml b/intro_flutter_gpu/step_04/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_04/pubspec.yaml +++ b/intro_flutter_gpu/step_04/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_05/pubspec.yaml b/intro_flutter_gpu/step_05/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_05/pubspec.yaml +++ b/intro_flutter_gpu/step_05/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_06/pubspec.yaml b/intro_flutter_gpu/step_06/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_06/pubspec.yaml +++ b/intro_flutter_gpu/step_06/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_07/pubspec.yaml b/intro_flutter_gpu/step_07/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_07/pubspec.yaml +++ b/intro_flutter_gpu/step_07/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_08/pubspec.yaml b/intro_flutter_gpu/step_08/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_08/pubspec.yaml +++ b/intro_flutter_gpu/step_08/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_09/pubspec.yaml b/intro_flutter_gpu/step_09/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_09/pubspec.yaml +++ b/intro_flutter_gpu/step_09/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_10/pubspec.yaml b/intro_flutter_gpu/step_10/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_10/pubspec.yaml +++ b/intro_flutter_gpu/step_10/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_11/pubspec.yaml b/intro_flutter_gpu/step_11/pubspec.yaml index c6a0a2ada2..589fb2b886 100644 --- a/intro_flutter_gpu/step_11/pubspec.yaml +++ b/intro_flutter_gpu/step_11/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: diff --git a/intro_flutter_gpu/step_12/pubspec.yaml b/intro_flutter_gpu/step_12/pubspec.yaml index 34b676a24c..ecf33ef0e1 100644 --- a/intro_flutter_gpu/step_12/pubspec.yaml +++ b/intro_flutter_gpu/step_12/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: From f82c43c583a320b0cd06a9ad9c3c86ef999fa121 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Tue, 1 Jul 2025 09:37:12 +1000 Subject: [PATCH 3/4] Cleanup --- intro_flutter_gpu/codelab_rebuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intro_flutter_gpu/codelab_rebuild.yaml b/intro_flutter_gpu/codelab_rebuild.yaml index 9b0d965f24..9bcd3f3f73 100644 --- a/intro_flutter_gpu/codelab_rebuild.yaml +++ b/intro_flutter_gpu/codelab_rebuild.yaml @@ -2197,7 +2197,7 @@ steps: @override bool shouldRepaint(covariant CustomPainter oldDelegate) => true; } - - name: Patch text/widget_test.dart + - name: Patch test/widget_test.dart path: intro_flutter_gpu/test/widget_test.dart patch-u: | --- b/intro_flutter_gpu/step_12/test/widget_test.dart From 8147960e42c35a972faeedd7a5c3b7ba74bd5b35 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Tue, 1 Jul 2025 10:30:30 +1000 Subject: [PATCH 4/4] Use the correct flag --- flutter_ci_script_shared.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flutter_ci_script_shared.sh b/flutter_ci_script_shared.sh index 5ef951572b..133b3e83ec 100755 --- a/flutter_ci_script_shared.sh +++ b/flutter_ci_script_shared.sh @@ -50,11 +50,11 @@ function ci_codelabs () { # intro_flutter_gpu only runs with Impeller if [ $CODELAB = 'intro_flutter_gpu' ]; then - # Skipping Windows: https://github.com/bdero/flutter_scene/issues/55 - if [ $RUNNER_OS = 'macOS' ] || [ $RUNNER_OS = 'Linux' ]; then + # Skipping Windows and Linux: https://github.com/bdero/flutter_scene/issues/55 + if [ $RUNNER_OS = 'macOS' ]; then flutter config --enable-native-assets flutter build `echo $RUNNER_OS | tr '[:upper:]' '[:lower:]'` --debug - flutter test --enable-impeller + flutter test --enable-flutter-gpu else echo "Skipping $CODELAB on $RUNNER_OS" fi