@@ -172,6 +172,66 @@ jobs:
172172 name : prebuild-freebsd-x64
173173 path : prebuilds/**/*.node
174174
175+ build-linux-armv7-musl :
176+ name : Build for linux-armv7-musl
177+ runs-on : ubuntu-latest
178+
179+ steps :
180+ - name : Checkout
181+ uses : actions/checkout@v4
182+ with :
183+ submodules : true
184+
185+ - name : Prebuild
186+ uses : uraimo/run-on-arch-action@v2
187+ with :
188+ arch : armv7
189+ distro : alpine_latest
190+ dockerRunArgs : --volume "${PWD}:/repo" --workdir /repo
191+ install : |
192+ apk add --update make g++ python3
193+ apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.19/main/ nodejs~=20 npm
194+ run : |
195+ npm ci
196+ npm run build
197+
198+ - name : Upload artifacts
199+ uses : actions/upload-artifact@v4
200+ with :
201+ name : prebuild-linux-armv7-musl
202+ path : prebuilds/**/*.node
203+
204+ build-linux-armv7-glibc :
205+ name : Build for linux-armv7-glibc
206+ runs-on : ubuntu-latest
207+
208+ steps :
209+ - name : Checkout
210+ uses : actions/checkout@v4
211+ with :
212+ submodules : true
213+
214+ - name : Prebuild
215+ uses : uraimo/run-on-arch-action@v2
216+ with :
217+ arch : armv7
218+ distro : ubuntu_latest
219+ dockerRunArgs : --volume "${PWD}:/repo" --workdir /repo
220+ install : |
221+ apt update -yq
222+ apt install -yq curl
223+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
224+ apt install -yq g++ git make python3 nodejs
225+ run : |
226+ npm ci
227+ npm run build
228+
229+ - name : Upload artifacts
230+ uses : actions/upload-artifact@v4
231+ with :
232+ name : prebuild-linux-armv7-glibc
233+ path : prebuilds/**/*.node
234+
175235 publish :
176236 name : Publish package
177237 runs-on : ubuntu-latest
@@ -186,6 +246,8 @@ jobs:
186246 - build-linux-arm64-glibc
187247 - build-linux-arm64-musl
188248 - build-linux-x64-musl
249+ - build-linux-armv7-musl
250+ - build-linux-armv7-glibc
189251
190252 steps :
191253 - name : Checkout
0 commit comments