File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - dev
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ubuntu-latest
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ toolchain :
21
+ - stable
22
+ - beta
23
+ - nightly
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - uses : dtolnay/rust-toolchain@master
27
+ with :
28
+ toolchain : ${{ matrix.toolchain }}
29
+ - run : cargo build --verbose
30
+ - run : cargo test --verbose
Original file line number Diff line number Diff line change 1
1
# jni-toolbox
2
+ [ ![ Actions Status] ( https://github.com/hexedtech/jni-toolbox/actions/workflows/test.yml/badge.svg )] ( https://github.com/hexedtech/jni-toolbox/actions )
3
+ [ ![ Crates.io Version] ( https://img.shields.io/crates/v/jni-toolbox )] ( https://crates.io/crates/jni-toolbox )
4
+ [ ![ docs.rs] ( https://img.shields.io/docsrs/jni-toolbox )] ( https://docs.rs/jni-toolbox )
5
+
6
+
2
7
this is a simple crate built around [ jni-rs] ( https://github.com/jni-rs/jni-rs ) to automatically generate JNI-compatible extern functions
3
8
4
9
it also wraps functions returning ` Result<> ` , making short-circuiting easy
You can’t perform that action at this time.
0 commit comments