Skip to content

Commit

Permalink
add musl build for arm platform (#192)
Browse files Browse the repository at this point in the history
Useful for arm Docker containers based on alpine
  • Loading branch information
Floppy authored Nov 4, 2024
1 parent f0f7df6 commit 2c05a3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
libc: glibc
image: ghcr.io/prebuild/linux-armv7:2.1.1
node: 18
- os: ubuntu-latest
arch: arm
libc: musl
image: ghcr.io/prebuild/linux-armv7l-musl:2.1.1
node: 18
- os: ubuntu-latest
arch: arm64
image: ghcr.io/prebuild/android-arm64:2.1.1
Expand Down
5 changes: 5 additions & 0 deletions scripts/build-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ const triples = [
arch: 'arm',
libc: 'glibc'
},
{
platform: 'linux',
arch: 'arm',
libc: 'musl'
},
{
platform: 'android',
arch: 'arm64'
Expand Down

0 comments on commit 2c05a3d

Please sign in to comment.