Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 92d42c0

Browse files
authored
Only build the x64 variant of Fuchsia on the try-jobs. (#12206)
Halves the presubmit times.
1 parent e174b4b commit 92d42c0

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ task:
7878
- name: build_fuchsia_artifacts
7979
compile_fuchsia_script: |
8080
cd $ENGINE_PATH/src
81-
./flutter/tools/fuchsia/build_fuchsia_artifacts.py --engine-version HEAD --runtime-mode debug --no-lto
81+
./flutter/tools/fuchsia/build_fuchsia_artifacts.py --engine-version HEAD --runtime-mode debug --no-lto --archs x64
8282
cd $ENGINE_PATH/src/flutter
8383
./ci/build_flutter_runner_tests.sh
8484

tools/fuchsia/build_fuchsia_artifacts.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@ def main():
233233
choices=['debug', 'profile', 'release', 'all'],
234234
default='all')
235235

236+
parser.add_argument(
237+
'--archs',
238+
type=str,
239+
choices=['x64', 'arm64', 'all'],
240+
default='all')
241+
236242
parser.add_argument(
237243
'--no-lto',
238244
action='store_true',
@@ -243,7 +249,7 @@ def main():
243249
RemoveDirectoryIfExists(_bucket_directory)
244250
build_mode = args.runtime_mode
245251

246-
archs = ['x64', 'arm64']
252+
archs = ['x64', 'arm64'] if args.archs == 'all' else [args.archs]
247253
runtime_modes = ['debug', 'profile', 'release']
248254
product_modes = [False, False, True]
249255

0 commit comments

Comments
 (0)