Skip to content

Commit 53766a1

Browse files
authored
Merge pull request #173 from stackgl/musl-builds
Musl builds
2 parents ab61b54 + d4ba732 commit 53766a1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ addons:
3131
- libgl1-mesa-dri
3232
- libglapi-mesa
3333
- libosmesa6
34+
- musl-dev
3435
before_install:
3536
- ./scripts/before_install.sh
3637
install:

scripts/after_success.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
1515
if [[ ${COMMIT_MESSAGE} == ${PACKAGE_JSON_VERSION} ]]; then
1616
echo "running prebuild"
1717
node ./node_modules/prebuild/bin.js -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 --strip -u ${GITHUB_TOKEN}
18+
19+
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
20+
node ./node_modules/prebuild/bin.js --libc=musl -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 --strip -u ${GITHUB_TOKEN}
21+
fi
1822
fi

0 commit comments

Comments
 (0)