Skip to content

Commit 597f43f

Browse files
committed
split for faster build
1 parent dadc7b8 commit 597f43f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ jobs:
3939
windows:
4040
name: Windows
4141
runs-on: windows-latest
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
arch: [x64, arm64]
4246
env:
4347
DEPOT_TOOLS_WIN_TOOLCHAIN: "0"
4448
steps:
@@ -59,15 +63,15 @@ jobs:
5963
Set-Location ../skia
6064
../depot_tools/python-bin/python3.bat tools/git-sync-deps
6165
62-
- name: Build
66+
- name: Build (${{ matrix.arch }})
6367
shell: pwsh
6468
run: |
65-
depot_tools/python-bin/python3.bat scripts/build.py windows all
69+
depot_tools/python-bin/python3.bat scripts/build.py windows ${{ matrix.arch }}
6670
6771
- name: Upload artifact
6872
uses: actions/upload-artifact@v4
6973
with:
70-
name: windows-all
74+
name: windows-${{ matrix.arch }}
7175
path: artifacts/*
7276

7377
linux:

0 commit comments

Comments
 (0)