Commit graph

113 commits

Author SHA1 Message Date
LongYinan
6d3b1096a4
build: fix alpine docker image 2021-09-28 13:11:28 +08:00
forehalo
2467b7139b
Introduce #[napi] procedural macro to automation development boilerplate (#696)
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
LongYinan
e99aba0a57
ci: upgrade to actions/cache@v2 2021-07-30 13:20:40 +08:00
LongYinan
660dbddb67
ci: add musl-cross toolchains into alpine.Dockerfile 2021-07-22 00:01:50 +08:00
LongYinan
27af46110c
ci: no need to build arm64 arch for debian.Dockerfile 2021-07-21 11:19:56 +08:00
LongYinan
b835c7ef3f
feat(build): remove ureq to support windows arm64 2021-05-31 23:31:17 +08:00
LongYinan
72960906dc
ci: add memory leak detect job 2021-05-29 23:24:25 +08:00
LongYinan
1986cf0c9a
ci: pin rust toolchain on 1.51.0 on windows-i686 target 2021-05-17 10:46:29 +08:00
LongYinan
daef1956b2
feat(napi): add napi8 features 2021-04-21 23:13:34 +08:00
LongYinan
244536c6d2
ci: add dependabot auto merge 2021-04-12 16:56:09 +08:00
LongYinan
af89f1a046
ci: test musl target on new alpine docker image 2021-04-12 11:10:50 +08:00
LongYinan
8f2c57088d
ci: add debian docker image 2021-04-12 11:02:59 +08:00
LongYinan
6b2e3e19e2
ci: build android on pull_request 2021-04-12 11:02:58 +08:00
LongYinan
7c81e48da6
ci: change the docker login username 2021-04-11 14:09:45 +08:00
LongYinan
8fb344d882
ci: use GH_TOKEN in docker action 2021-04-08 10:48:41 +08:00
messense
228c280607 Migrate to ghcr.io 2021-03-31 14:51:39 +08:00
messense
20cb92d202 Build multiarch Docker image 2021-03-31 14:39:53 +08:00
LongYinan
0a9d741e93
ci: use lts alpine image 2021-03-19 11:53:48 +08:00
LongYinan
6c8dcea460
ci: running cross compile testing on ubuntu-20.04 2021-03-11 12:12:19 +08:00
LongYinan
1ee3145756
ci: upgrade actions/setup-node 2021-01-05 23:53:23 +08:00
LongYinan
a17377779d
ci: add dependabot config 2021-01-04 17:50:16 +08:00
LongYinan
7a72c4aff9
ci: build test for android 2020-12-09 15:59:57 +08:00
LongYinan
7f2c92fa79
ci: fix timeout during yarn installing 2020-12-09 11:03:59 +08:00
LongYinan
d7e727d045
feat: build and test armv7 2020-12-08 12:00:58 +08:00
LongYinan
66088642ee
chore: rename branch master => main 2020-12-03 16:30:14 +08:00
LongYinan
7767b83222
refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00
LongYinan
c184ab3926
ci: add cargo clippy 2020-12-01 14:58:00 +08:00
LongYinan
96f3a45709
ci: remove useless restore key 2020-11-30 22:14:05 +08:00
LongYinan
280066fff3
ci: cargo cache key in linux-musl 2020-11-28 00:44:53 +08:00
LongYinan
42528c41dd
chore: build codes in node:10-alpine 2020-11-26 15:27:46 +08:00
LongYinan
93fbdf0e54
ci: remove legacy add path command 2020-11-18 11:42:38 +08:00
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen 2020-11-10 17:52:59 +08:00
LongYinan
47f5011a8f feat(napi): support build on i686-pc-windows-msvc 2020-11-04 23:08:54 +08:00
LongYinan
433031a6ee
ci: use GITHUB_TOKEN in bench comment action 2020-11-01 21:52:50 +08:00
LongYinan
3c3a5b6fdb
ci: reduce aarch64 running time by cross compile in host machine 2020-10-15 16:14:11 +08:00
LongYinan
fbd82d4e27
Merge pull request #233 from napi-rs/aarch64
feat: support linux aarch64
2020-10-15 10:01:34 +08:00
LongYinan
5a49efe25e
feat: support linux aarch64 2020-10-15 09:12:43 +08:00
LongYinan
70b2113985
ci: benchmark result upload condition 2020-10-14 22:08:16 +08:00
LongYinan
58977c89d2
Merge pull request #228 from napi-rs/bsd
ci: add freebsd ci
2020-10-14 12:09:50 +08:00
LongYinan
24919d72be
ci: write ava.config for ava@2 2020-10-14 11:44:37 +08:00
LongYinan
f03ada59df
ci: setup benchmark action 2020-10-14 01:02:00 +08:00
LongYinan
6c95d86d2f
feat(napi): implement date related API 2020-10-10 15:02:11 +08:00
LongYinan
d1d6a5b963
refactor(build): use node to download .lib file on Windows 2020-10-10 13:04:42 +08:00
LongYinan
2d099f7d1f
ci: use node@10.2.0 instead of node@10.0.0 to run napi3 tests 2020-10-04 16:07:36 +08:00
LongYinan
fb4d07edd4
feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
LongYinan
e68778428e
feat: powerful cli 2020-09-04 17:11:23 +08:00
LongYinan
0bfacc536a
ci: exclude commits from own repo 2020-08-17 22:36:09 +08:00
LongYinan
177e41b753
docs: fix docs.rs build, add badges to README 2020-08-03 13:27:45 +08:00
LongYinan
e34b3dc5c2
ci: upgrade pipeline 2020-07-29 23:06:49 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate 2020-07-15 00:59:41 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv 2020-07-07 11:57:32 +08:00
LongYinan
93f7180682
chore: upgrade ava 2020-07-02 15:30:10 +08:00
LongYinan
0d5f03f845
feat: move napi version features setup to build package 2020-07-02 00:40:36 +08:00
LongYinan
2797413799
chore: drop support for node@13 2020-06-17 20:53:41 +08:00
LongYinan
422682c8b8
test: setup test framework in test_module project 2020-06-17 20:53:41 +08:00
LongYinan
8783ce7a5f
ci: fix docker login action in cron job 2020-06-12 11:00:27 +08:00
LongYinan
28257b45c1
feat(napi): support musl linux
drop future executor due to mutithreads bug.
2020-06-11 16:20:37 +08:00
LongYinan
ec235d284d
refactor(spawn): napi_async_worker implementation 2020-05-15 14:03:02 +08:00
LongYinan
1a280aa30f
refactor(napi): async and lifetime span 2020-05-09 14:13:25 +08:00
LongYinan
5fc3c7424a
ci: add node14 to test matrix 2020-04-30 18:08:29 +08:00
LongYinan
ef99000955
fix(executor): use Arc to ensure thread safe 2020-03-12 22:40:21 +08:00
LongYinan
48c9a8956c
build: enhance the build pipeline 2020-02-19 17:45:57 +08:00
LongYinan
e0e85502af
feat: upgrade to std-future 2020-02-18 21:09:17 +08:00