Skip to content

Commit 449fe2d

Browse files
committed
this for sure will work
1 parent 86d248c commit 449fe2d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ jobs:
7373
linux:
7474
name: Linux
7575
runs-on: ubuntu-latest
76+
strategy:
77+
fail-fast: false
78+
matrix:
79+
arch: [x64, arm64, arm]
80+
env:
81+
CLANG_BUILDER_IMAGE: ghcr.io/avaloniaui/clang-cross-builder:latest
7682
steps:
7783
- name: Log in to GitHub Container Registry
7884
uses: docker/login-action@v3
@@ -96,18 +102,15 @@ jobs:
96102
./update_depot_tools
97103
cd ../skia
98104
python3 tools/git-sync-deps
99-
- name: Build (all arches)
100-
env:
101-
CLANG_BUILDER_IMAGE: ghcr.io/avaloniaui/clang-cross-builder:latest
105+
106+
- name: Build (arch)
102107
run: |
103-
scripts/build-linux.sh x64
104-
scripts/build-linux.sh arm64
105-
scripts/build-linux.sh arm
108+
scripts/build-linux.sh ${{ matrix.arch }}
106109
107110
- name: Upload artifacts
108111
uses: actions/upload-artifact@v4
109112
with:
110-
name: linux-all
113+
name: linux-${{ matrix.arch }}
111114
path: artifacts/*
112115

113116
macos:

0 commit comments

Comments
 (0)