Skip to content

Commit e84f307

Browse files
committed
build shaderbundles
1 parent b71b9d0 commit e84f307

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

flutter_ci_script_shared.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ function ci_codelabs () {
88
# Enable native assets for intro_flutter_gpu
99
flutter config --enable-native-assets
1010

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
18+
1119
# ffigen_codelab/step_07 needs to build the native library before running the tests
1220
pushd ffigen_codelab/step_07/example
1321
# RUNNER_OS from https://stackoverflow.com/a/72926104/2142626
@@ -33,7 +41,7 @@ function ci_codelabs () {
3341
echo "== Getting dependencies for ${PROJECT}"
3442
for dir in `find . -name pubspec.yaml -not -path '*/*symlinks/*' -exec dirname {} \;`; do
3543
pushd $dir
36-
flutter pub get
44+
flutter pub get
3745
popd
3846
done
3947

0 commit comments

Comments
 (0)