File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,20 @@ function ci_codelabs () {
55 # Disable analytics to avoid https://github.com/dart-lang/tools/issues/249
66 dart --disable-analytics
77
8- # Enable native assets for intro_flutter_gpu
9- flutter config --enable-native-assets
8+ # intro_flutter_gpu requires the master channel
9+ if [ $channel = " master" ]; then
10+ # Enable native assets for intro_flutter_gpu
11+ flutter config --enable-native-assets
12+
13+ # intro_flutter_gpu needs to build the shaders before running the tests
14+ for step in " 01" " 02" " 03" " 04" " 05" " 06" " 07" " 08" " 09" " 10" " 11" " 12"
15+ do
16+ pushd intro_flutter_gpu/step_$step
17+ flutter build ` echo $RUNNER_OS | tr ' [:upper:]' ' [:lower:]' ` --debug
18+ popd
19+ done
20+ fi
1021
11- # intro_flutter_gpu needs to build the shaders before running the tests
12- for step in " 01" " 02" " 03" " 04" " 05" " 06" " 07" " 08" " 09" " 10" " 11" " 12"
13- do
14- pushd intro_flutter_gpu/step_$step
15- flutter build ` echo $RUNNER_OS | tr ' [:upper:]' ' [:lower:]' ` --debug
16- popd
17- done
1822
1923 # ffigen_codelab/step_07 needs to build the native library before running the tests
2024 pushd ffigen_codelab/step_07/example
You can’t perform that action at this time.
0 commit comments