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:
136136
137137 name : ${{ matrix.job_name }}
138138 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
140143 timeout-minutes : 90
141144 env :
142145 MACOSX_DEPLOYMENT_TARGET : ${{ matrix.arch == 'arm64' && '11.0' || '10.12' }}
@@ -162,6 +165,16 @@ jobs:
162165 # create ../llvm symlink to distro LLVM (no prebuilt LDC-LLVM for musl)
163166 ln -s /usr/lib/llvm19 $(dirname $(pwd))/llvm
164167 ../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
165178 fi
166179 - uses : actions/checkout@v4
167180 with :
You can’t perform that action at this time.
0 commit comments