File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,6 @@ function ci_codelabs () {
55 # Disable analytics to avoid https://github.com/dart-lang/tools/issues/249
66 dart --disable-analytics
77
8- # intro_flutter_gpu requires the master channel and macOS
9- if [ $channel = " master" && $RUNNER_OS = ' macOS' ]; 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
21-
22-
238 # ffigen_codelab/step_07 needs to build the native library before running the tests
249 pushd ffigen_codelab/step_07/example
2510 # RUNNER_OS from https://stackoverflow.com/a/72926104/2142626
@@ -66,6 +51,8 @@ function ci_codelabs () {
6651 # intro_flutter_gpu only runs with Impeller on macOS
6752 if [ $CODELAB = ' intro_flutter_gpu' ]; then
6853 if [ $RUNNER_OS = ' macOS' ]; then
54+ flutter config --enable-native-assets
55+ flutter build ` echo $RUNNER_OS | tr ' [:upper:]' ' [:lower:]' ` --debug
6956 flutter test --enable-impeller
7057 fi
7158 # This skips the test if the runner OS is not macOS
You can’t perform that action at this time.
0 commit comments