Update android bindings and add github action #2
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
name: Build framework for Kotlin library | |
jobs: | |
framework: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: "Show default version of NDK" | |
run: echo $ANDROID_NDK_ROOT | |
- name: "Check out PR branch" | |
uses: actions/checkout@v3 | |
- name: "Set up JDK" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- uses: dtolnay/rust-toolchain@1.75.0 | |
with: | |
targets: x86_64-linux-android, aarch64-linux-android, armv7-linux-androideabi | |
- uses: extractions/setup-just@v1 | |
with: | |
just-version: 1.5.0 # optional semver specification, otherwise latest | |
- name: "Build Android library" | |
run: | | |
cd lwk_bindings/android_bindings | |
./gradlew build --console=plain |