From 5ba50544fba4e818dd415e0287a0b5419295a40d Mon Sep 17 00:00:00 2001 From: liyuqian Date: Tue, 9 Apr 2019 18:49:02 -0700 Subject: [PATCH] Add windows host_debug_unopt build (flutter/engine#8515) The issue with gn --unoptimized seems to be solved in the ToT engine, buildroot, or depot_tools. The added test makes sure that it won't be broken again for non-Google windows machines. --- engine/src/flutter/.cirrus.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/engine/src/flutter/.cirrus.yml b/engine/src/flutter/.cirrus.yml index 136c255a6e..dde481e948 100644 --- a/engine/src/flutter/.cirrus.yml +++ b/engine/src/flutter/.cirrus.yml @@ -62,7 +62,7 @@ task: format_script: cd $ENGINE_PATH/src/flutter && ./ci/format.sh build_script: cd $ENGINE_PATH/src/flutter && ./ci/build.sh -build_windows_task: +task: gce_instance: image_project: flutter-cirrus image_name: flutter-engine-windows-server-2016-core @@ -86,8 +86,16 @@ build_windows_task: robocopy %CIRRUS_WORKING_DIR% %ENGINE_PATH%/src/flutter /MIR || (cmd /s /c exit /b 0) cd %ENGINE_PATH%/src gclient sync - # Currently there's a problem with `flutter/tools/gn --unoptimized` so we omit --unoptimized for now - compile_host_script: | - cd %ENGINE_PATH%/src - python flutter/tools/gn - ninja -C out/host_debug + + matrix: + - name: build_windows_debug + compile_host_script: | + cd %ENGINE_PATH%/src + python flutter/tools/gn --runtime-mode debug --unoptimized + ninja -C out/host_debug_unopt + + - name: build_windows_debug_unopt + compile_host_script: | + cd %ENGINE_PATH%/src + python flutter/tools/gn --runtime-mode debug + ninja -C out/host_debug