Skip to content

Commit 45e65c7

Browse files
Disable on Windows
1 parent 1936f85 commit 45e65c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flutter_ci_script_shared.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,16 @@ function ci_codelabs () {
4747
if [ -d "test" ]
4848
then
4949
if grep -q "flutter:" "pubspec.yaml"; then
50+
51+
# intro_flutter_gpu only runs with Impeller
5052
if [ $CODELAB = 'intro_flutter_gpu' ]; then
53+
if [ $RUNNER_OS = 'macOS' ] || [ $RUNNER_OS = 'Linux' ]; then
5154
flutter config --enable-native-assets
5255
flutter build `echo $RUNNER_OS | tr '[:upper:]' '[:lower:]'` --debug
5356
flutter test --enable-impeller
57+
else
58+
echo "Skipping $CODELAB on $RUNNER_OS"
59+
fi
5460
else
5561
flutter test
5662
fi

0 commit comments

Comments
 (0)