Skip to content

Commit

Permalink
Merge pull request #173 from stackgl/musl-builds
Browse files Browse the repository at this point in the history
Musl builds
  • Loading branch information
dhritzkiv committed Jan 7, 2020
2 parents ab61b54 + d4ba732 commit 53766a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ addons:
- libgl1-mesa-dri
- libglapi-mesa
- libosmesa6
- musl-dev
before_install:
- ./scripts/before_install.sh
install:
Expand Down
4 changes: 4 additions & 0 deletions scripts/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
if [[ ${COMMIT_MESSAGE} == ${PACKAGE_JSON_VERSION} ]]; then
echo "running prebuild"
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}

if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
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}
fi
fi

0 comments on commit 53766a1

Please sign in to comment.