Skip to content

Commit bb5468a

Browse files
Biuild only debug + matrix + software rendering
1 parent ccc0841 commit bb5468a

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,18 @@ on:
1111
jobs:
1212
build:
1313
runs-on: macos-latest
14-
14+
strategy:
15+
matrix:
16+
mode:
17+
- '--unoptimized --runtime-mode=debug'
18+
- '--unoptimized --runtime-mode=profile'
19+
- '--unoptimized --runtime-mode=release'
20+
- '--ios --unoptimized --runtime-mode=debug'
21+
- '--ios --unoptimized --runtime-mode=profile'
22+
- '--ios --unoptimized --runtime-mode=release'
23+
- '--ios --runtime-mode=debug'
24+
- '--ios --runtime-mode=profile'
25+
- '--ios --runtime-mode=release'
1526
steps:
1627

1728
- name: Setup depot_tools
@@ -62,13 +73,7 @@ jobs:
6273
shell: bash
6374
working-directory: engine/src
6475
run: |
65-
./flutter/tools/gn --unoptimized --runtime-mode=debug
66-
./flutter/tools/gn --ios --unoptimized --runtime-mode=debug
67-
./flutter/tools/gn --ios --unoptimized --runtime-mode=profile
68-
./flutter/tools/gn --ios --unoptimized --runtime-mode=release
69-
./flutter/tools/gn --ios --runtime-mode=debug
70-
./flutter/tools/gn --ios --runtime-mode=profile
71-
./flutter/tools/gn --ios --runtime-mode=release
76+
./flutter/tools/gn ${{ matrix.mode }}
7277
7378
- name: Build
7479
shell: bash

0 commit comments

Comments
 (0)