Skip to content

Commit 7ad47ea

Browse files
authored
Update build.yml
1 parent 51ecc69 commit 7ad47ea

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ jobs:
117117
- host-arch: arm64
118118
target-arch: arm64
119119
os: ubuntu-24.04-arm
120-
- host-arch: x64
120+
- host-arch: arm64
121121
target-arch: arm
122-
os: ubuntu-latest
122+
os: ubuntu-24.04-arm
123123
- host-arch: x64
124124
target-arch: riscv64
125125
os: ubuntu-latest
@@ -157,21 +157,10 @@ jobs:
157157
cd dart-sdk/sdk
158158
./build/linux/alpine_sysroot_scripts/install-sysroot.sh
159159
160-
- name: Install x86 sysroot
161-
if: matrix.host-arch == 'x64' && matrix.target-arch == 'arm'
162-
run: |
163-
cd dart-sdk/sdk
164-
./build/linux/alpine_sysroot_scripts/install-sysroot.sh x86
165-
166-
- name: Setup multiarch
167-
run: |
168-
cd dart-sdk/sdk
169-
find buildtools/sysroot -mindepth 1 -maxdepth 1 -name 'alpine-linux-*' -print0 | xargs -0 -n 1 -I {} -- find {}/lib -mindepth 1 -maxdepth 1 \( -name 'ld-musl-*.so.1' -o -name 'libc.musl-*.so.1' \) -print0 | xargs -0 -n 1 -- sh -xc 'cp -u "$1" /lib' --
170-
171160
- name: Build
172161
run: |
173162
cd dart-sdk/sdk
174-
./tools/build.py --mode release --arch ${{ matrix.target-arch }} --gn-args 'dart_snapshot_kind="app-jit"' --gn-args 'dart_sysroot="alpine"' create_sdk
163+
./tools/build.py --mode release --arch ${{ matrix.target-arch }} --gn-args 'dart_sysroot="alpine"' create_sdk
175164
176165
- name: Archive
177166
run: |

0 commit comments

Comments
 (0)