Skip to content

Commit 905c571

Browse files
authored
Add windows host_debug_unopt build (flutter#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.
1 parent 39e1d00 commit 905c571

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.cirrus.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ task:
6262
format_script: cd $ENGINE_PATH/src/flutter && ./ci/format.sh
6363
build_script: cd $ENGINE_PATH/src/flutter && ./ci/build.sh
6464

65-
build_windows_task:
65+
task:
6666
gce_instance:
6767
image_project: flutter-cirrus
6868
image_name: flutter-engine-windows-server-2016-core
@@ -86,8 +86,16 @@ build_windows_task:
8686
robocopy %CIRRUS_WORKING_DIR% %ENGINE_PATH%/src/flutter /MIR || (cmd /s /c exit /b 0)
8787
cd %ENGINE_PATH%/src
8888
gclient sync
89-
# Currently there's a problem with `flutter/tools/gn --unoptimized` so we omit --unoptimized for now
90-
compile_host_script: |
91-
cd %ENGINE_PATH%/src
92-
python flutter/tools/gn
93-
ninja -C out/host_debug
89+
90+
matrix:
91+
- name: build_windows_debug
92+
compile_host_script: |
93+
cd %ENGINE_PATH%/src
94+
python flutter/tools/gn --runtime-mode debug --unoptimized
95+
ninja -C out/host_debug_unopt
96+
97+
- name: build_windows_debug_unopt
98+
compile_host_script: |
99+
cd %ENGINE_PATH%/src
100+
python flutter/tools/gn --runtime-mode debug
101+
ninja -C out/host_debug

0 commit comments

Comments
 (0)