Skip to content

Commit c337f33

Browse files
authored
Update build.yml
1 parent 760a965 commit c337f33

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,20 @@ jobs:
154154
cd dart-sdk/sdk
155155
./build/linux/alpine_sysroot_scripts/install-sysroot.sh riscv64
156156
157+
- name: Fix riscv64 sysroot
158+
if: matrix.target-arch == 'riscv64'
159+
run: |
160+
xargs -n 1 -I {} wget https://github.com/dart-musl/dl-cdn.alpinelinux.org/raw/main/alpine/edge/main/riscv64/{} <<'EOF'
161+
g++-13.1.1_git20230722-r1.apk
162+
gcc-13.1.1_git20230722-r1.apk
163+
libatomic-13.1.1_git20230722-r1.apk
164+
libgcc-13.1.1_git20230722-r1.apk
165+
libgomp-13.1.1_git20230722-r1.apk
166+
libstdc++-13.1.1_git20230722-r1.apk
167+
libstdc++-dev-13.1.1_git20230722-r1.apk
168+
EOF
169+
find . -mindepth 1 -maxdepth 1 -name '*-13.1.1_git20230722-r1.apk' -print0 | xargs -0 apk add --root "$GITHUB_WORKSPACE/dart-sdk/sdk/build/linux/alpine-linux-riscv64-sysroot" --allow-untrusted --
170+
157171
- name: Setup multiarch musl
158172
run: |
159173
cd dart-sdk/sdk

0 commit comments

Comments
 (0)