File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,10 @@ jobs:
136
136
137
137
name : ${{ matrix.job_name }}
138
138
runs-on : ${{ matrix.os }}
139
- container : ${{ matrix.container_image }}
139
+ container :
140
+ image : ${{ matrix.container_image }}
141
+ volumes : # needed for Alpine aarch64 job: https://github.com/actions/runner/issues/801#issuecomment-2394425757
142
+ - /:/host
140
143
timeout-minutes : 90
141
144
env :
142
145
MACOSX_DEPLOYMENT_TARGET : ${{ matrix.arch == 'arm64' && '11.0' || '10.12' }}
@@ -162,6 +165,16 @@ jobs:
162
165
# create ../llvm symlink to distro LLVM (no prebuilt LDC-LLVM for musl)
163
166
ln -s /usr/lib/llvm19 $(dirname $(pwd))/llvm
164
167
../llvm/bin/llvm-config --version
168
+
169
+ # see https://github.com/actions/runner/issues/801#issuecomment-2394425757
170
+ if [[ '${{ matrix.arch }}' == aarch64 ]]; then
171
+ apk add nodejs
172
+ sed -i "s:ID=alpine:ID=NotpineForGHA:" /etc/os-release
173
+ cd /host/home/runner/runners/*/externals/
174
+ rm -rf node20/*
175
+ mkdir node20/bin
176
+ ln -s /usr/bin/node node20/bin/node
177
+ fi
165
178
fi
166
179
- uses : actions/checkout@v4
167
180
with :
You can’t perform that action at this time.
0 commit comments