Skip to content

Commit

Permalink
Fix CI + edit README
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIMP committed Oct 6, 2023
1 parent 2d37bcc commit 05e21e3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ jobs:
with:
distribution: temurin
java-version: 11


- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r26
add-to-path: false
# local-cache: true
link-to-sdk: true

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -53,9 +61,5 @@ jobs:
working-directory: zenoh-jni
run: cargo build --verbose

- name: Cargo Test
working-directory: zenoh-jni
run: cargo test --verbose -- --nocapture

- name: Gradle Test
run: gradle jvmTest
run: gradle jvmTest --info
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
distribution: temurin
java-version: 11

- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r26
add-to-path: false
link-to-sdk: true

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand All @@ -48,12 +55,8 @@ jobs:
working-directory: zenoh-jni
run: cargo build --verbose

- name: Cargo Test
working-directory: zenoh-jni
run: cargo test --verbose -- --nocapture

- name: Gradle Test
run: gradle jvmTest
run: gradle jvmTest --info

build_doc_and_deploy:
name: Build and Deploy Documentation
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Basically:
* Rust ([Installation guide](https://doc.rust-lang.org/cargo/getting-started/installation.html))
* Kotlin ([Installation guide](https://kotlinlang.org/docs/getting-started.html#backend))
* Gradle ([Installation guide](https://gradle.org/install/))
* Android SDK ([Installation guide](https://developer.android.com/about/versions/11/setup-sdk))

## <img src="android-robot.png" alt="Android" height="50"> Android

Expand Down Expand Up @@ -115,7 +116,7 @@ And finally, do not forget to add the required internet permissions on your mani

And that was it! You can now import the code from the `io.zenoh` package and use it at your will.

## JVM
## <img src="jvm.png" alt="JVM" height="50"> JVM

To publish a library for a JVM project into Maven local, run

Expand Down
Binary file added jvm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions zenoh-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ android {
namespace = "io.zenoh"
compileSdk = 30

ndkVersion = "26.0.10792818"

defaultConfig {
minSdk = 30
}
Expand Down

0 comments on commit 05e21e3

Please # to comment.