From edabb87b038a343eddbc63cb6aa7b36fcc7781d2 Mon Sep 17 00:00:00 2001 From: liyuqian Date: Fri, 7 Jun 2019 14:16:04 -0700 Subject: [PATCH] Add web integration test to build_and_test_host (flutter/engine#9218) This will catch failure early for cases like https://github.com/flutter/engine/pull/9216 (which fixes manual roll for https://github.com/flutter/engine/pull/8983). --- engine/src/flutter/.cirrus.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/.cirrus.yml b/engine/src/flutter/.cirrus.yml index 4ffcb70c8b..de3ccc88d2 100644 --- a/engine/src/flutter/.cirrus.yml +++ b/engine/src/flutter/.cirrus.yml @@ -30,13 +30,16 @@ task: - name: build_and_test_host compile_host_script: | cd $ENGINE_PATH/src - ./flutter/tools/gn --unoptimized + ./flutter/tools/gn --unoptimized --full-dart-sdk ninja -C out/host_debug_unopt test_host_script: cd $ENGINE_PATH/src && ./flutter/testing/run_tests.sh host_debug_unopt fetch_framework_script: | mkdir -p $FRAMEWORK_PATH cd $FRAMEWORK_PATH git clone https://github.com/flutter/flutter.git + web_test_script: | + cd $FRAMEWORK_PATH/flutter/dev/integration_tests/web + ../../../bin/flutter --local-engine=host_debug_unopt build web -v framework_test_script: | cd $FRAMEWORK_PATH/flutter/packages/flutter ../../bin/flutter test --local-engine=host_debug_unopt