Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions flutter_ci_script_shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ function ci_codelabs () {

# intro_flutter_gpu only runs with Impeller
if [ $CODELAB = 'intro_flutter_gpu' ]; then
if [ $RUNNER_OS = 'macOS' ] || [ $RUNNER_OS = 'Linux' ]; then
flutter config --enable-native-assets
flutter build `echo $RUNNER_OS | tr '[:upper:]' '[:lower:]'` --debug
flutter test --enable-impeller
else
# Flutter scene is broken: https://github.com/bdero/flutter_scene/issues/57
# if [ $RUNNER_OS = 'macOS' ] || [ $RUNNER_OS = 'Linux' ]; then
# flutter config --enable-native-assets
# flutter build `echo $RUNNER_OS | tr '[:upper:]' '[:lower:]'` --debug
# flutter test --enable-impeller
# else
echo "Skipping $CODELAB on $RUNNER_OS"
fi
# fi
else
flutter test
fi
Expand Down
Loading