Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linux-arm64, android-arm and android-arm64 prebuilds #587

Merged
merged 25 commits into from
Feb 1, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
579b4c6
Add linux-arm64, android-arm and android-arm64 prebuilds
vweevers Jan 27, 2019
99aaf92
5.0.0-2-arm
vweevers Jan 27, 2019
92a2b3b
Disable package-lock.json
ralphtheninja Jan 27, 2019
b384ab5
Disable android for now
ralphtheninja Jan 27, 2019
b886ee8
Use plain docker for linux and armv7/arm64
ralphtheninja Jan 27, 2019
821a9fa
Print out file type after build
ralphtheninja Jan 27, 2019
aba704b
5.0.0-2-docker
ralphtheninja Jan 27, 2019
c38859c
Print out users and groups
ralphtheninja Jan 27, 2019
53e8575
Print out environment
ralphtheninja Jan 27, 2019
92bb36e
Only do linux-armv7 for now
ralphtheninja Jan 27, 2019
12c43df
Run docker with user travis on Travis
ralphtheninja Jan 27, 2019
db6e652
5.0.0-2-docker2
ralphtheninja Jan 27, 2019
fac4027
Revert "Only do linux-armv7 for now"
ralphtheninja Jan 27, 2019
14c3c44
Clean up
ralphtheninja Jan 27, 2019
43c07af
Update arm64 script
ralphtheninja Jan 27, 2019
9c76803
5.0.0-2-docker3
ralphtheninja Jan 27, 2019
e057ee6
Add back android armv7
ralphtheninja Jan 27, 2019
6ea1cba
5.0.0-2-docker4
ralphtheninja Jan 27, 2019
08e0d59
Add back android arm64
ralphtheninja Jan 27, 2019
1435e49
5.0.0-2-docker5
ralphtheninja Jan 27, 2019
b513742
Actually run prebuild-android-arm64
ralphtheninja Jan 28, 2019
7112fe1
5.0.0-2-docker6
ralphtheninja Jan 28, 2019
51c4cfb
Refactor into cross-compile script + remove prebuildify-cross dependency
ralphtheninja Jan 28, 2019
d48e9dd
Revert temporary version
ralphtheninja Jan 28, 2019
dfd15d6
Remove -it
ralphtheninja Feb 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: arm
os: linux
node_js: node
env: [BUILD_CMD=prebuildify-cross-armv7, BUILD_GROUP=arm]
env: [BUILD_CMD=prebuild-arm, BUILD_GROUP=arm]
if: tag is present

script:
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
"hallmark": "hallmark --fix",
"dependency-check": "dependency-check . test/*.js bench/*.js",
"prepublishOnly": "npm run dependency-check",
"prebuildify-cross-armv7": "prebuildify-cross --platform=linux --arch=arm --arm-version=7 -- -t 8.14.0 --napi --strip"
"prebuild-arm": "npm run prebuild-linux-arm && npm run prebuild-linux-arm64 && npm run prebuild-android-arm && npm run prebuild-android-arm64",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we shorten this with e.g. npm-run-all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good idea. (TIL about it)

"prebuild-linux-arm": "prebuildify-cross --platform=linux --arch=arm --arm-version=7 -- -t 8.14.0 --napi --strip",
"prebuild-linux-arm64": "prebuildify-cross --platform=linux --arch=arm64 -- -t 8.14.0 --napi --strip",
"prebuild-android-arm": "prebuildify-cross --platform=android --arch=arm --arm-version=7 -- -t 8.14.0 --napi --strip",
"prebuild-android-arm64": "prebuildify-cross --platform=android --arch=arm64 -- -t 8.14.0 --napi --strip"
},
"dependencies": {
"abstract-leveldown": "~6.0.0",
Expand Down