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).
This commit is contained in:
liyuqian 2019-06-07 14:16:04 -07:00 committed by GitHub
parent adbf3c4592
commit edabb87b03

View File

@ -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