-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from ZettaScaleLabs/java_compatible_kotlin_bin…
…dings Java compatible kotlin bindings
- Loading branch information
Showing
184 changed files
with
12,029 additions
and
7,996 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Report a bug | ||
description: | | ||
Create a bug report to help us improve Zenoh. | ||
title: "[Bug] " | ||
labels: ["bug"] | ||
body: | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: "Describe the bug" | ||
description: | | ||
A clear and concise description of the expected behaviour and what the bug is. | ||
placeholder: | | ||
E.g. zenoh peers can not automatically establish a connection. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: To reproduce | ||
description: "Steps to reproduce the behavior:" | ||
placeholder: | | ||
1. Start a subscriber "..." | ||
2. Start a publisher "...." | ||
3. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: system | ||
attributes: | ||
label: System info | ||
description: "Please complete the following information:" | ||
placeholder: | | ||
- Platform: [e.g. Ubuntu 20.04 64-bit] | ||
- CPU [e.g. AMD Ryzen 3800X] | ||
- Zenoh version/commit [e.g. 6f172ea985d42d20d423a192a2d0d46bb0ce0d11] | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://github.com/eclipse-zenoh/roadmap/discussions/categories/zenoh | ||
about: Open to the Zenoh community. Share your feedback with the Zenoh team. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Request a feature | ||
description: | | ||
Suggest a new feature specific to this repository. NOTE: for generic Zenoh ideas use "Ask a question". | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
**Guidelines for a good issue** | ||
*Is your feature request related to a problem?* | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
*Describe the solution you'd like* | ||
A clear and concise description of what you want to happen. | ||
*Describe alternatives you've considered* | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
*Additional context* | ||
Add any other context about the feature request here. | ||
- type: textarea | ||
id: feature | ||
attributes: | ||
label: "Describe the feature" | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ "**" ] | ||
pull_request: | ||
branches: [ "**" ] | ||
schedule: | ||
- cron: "0 6 * * 1-5" | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
ci: | ||
name: Build on ${{ matrix.os }} | ||
runs-on: [ "${{ matrix.os }}" ] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest, macOS-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
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: | ||
override: true | ||
components: rustfmt, clippy | ||
|
||
- name: Cargo Format | ||
working-directory: zenoh-jni | ||
run: cargo fmt --all --check | ||
|
||
- name: Clippy Check | ||
working-directory: zenoh-jni | ||
run: cargo clippy --all-targets --all-features -- -D warnings | ||
|
||
- name: Check for feature leaks | ||
working-directory: zenoh-jni | ||
run: cargo test --no-default-features | ||
|
||
- name: Build Zenoh-JNI | ||
working-directory: zenoh-jni | ||
run: cargo build | ||
|
||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
|
||
- name: Gradle Test | ||
run: gradle jvmTest --info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish Documentation | ||
|
||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build_doc_and_deploy: | ||
name: Build and Deploy Documentation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: nttld/setup-ndk@v1 | ||
id: setup-ndk | ||
with: | ||
ndk-version: r26 | ||
add-to-path: false | ||
link-to-sdk: true | ||
|
||
- name: Build doc | ||
run: gradle dokkaHtml | ||
|
||
- name: Deploy doc | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./zenoh-kotlin/build/dokka/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
publish_android_package: | ||
name: Publish Android Package to Github Packages | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-java@v3 | ||
with: | ||
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: | ||
override: true | ||
components: rustfmt, clippy | ||
|
||
- name: Setup Rust toolchains | ||
run: | | ||
rustup target add armv7-linux-androideabi | ||
rustup target add i686-linux-android | ||
rustup target add aarch64-linux-android | ||
rustup target add x86_64-linux-android | ||
- name: Gradle Wrapper | ||
run: | | ||
gradle wrapper | ||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
|
||
- name: Gradle Publish Android Package | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: publishAndroidReleasePublicationToGithubPackagesRepository | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.