Add support for resolving BIP 353 Human-Readable Names #3386
Workflow file for this run
This file contains hidden or 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
| name: CI Checks - Kotlin Tests | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-kotlin: | |
| runs-on: ubuntu-latest | |
| env: | |
| LDK_NODE_JVM_DIR: bindings/kotlin/ldk-node-jvm | |
| LDK_NODE_ANDROID_DIR: bindings/kotlin/ldk-node-android | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| - name: Set default Rust version to stable | |
| run: rustup default stable | |
| - name: Show default version of NDK | |
| run: echo $ANDROID_NDK_ROOT | |
| - name: Run ktlintCheck on ldk-node-jvm | |
| run: | | |
| cd $LDK_NODE_JVM_DIR | |
| ./gradlew ktlintCheck | |
| - name: Run ktlintCheck on ldk-node-android | |
| run: | | |
| cd $LDK_NODE_ANDROID_DIR | |
| ./gradlew ktlintCheck | |
| - name: Generate Kotlin JVM | |
| env: | |
| RUSTFLAGS: "--cfg hrn_tests" | |
| run: ./scripts/uniffi_bindgen_generate_kotlin.sh | |
| - name: Generate Kotlin Android | |
| env: | |
| RUSTFLAGS: "--cfg hrn_tests" | |
| run: ./scripts/uniffi_bindgen_generate_kotlin_android.sh | |
| - name: Start bitcoind and electrs | |
| run: docker compose up -d | |
| - name: Run ldk-node-jvm tests | |
| env: | |
| RUSTFLAGS: "--cfg hrn_tests" | |
| run: | | |
| cd $LDK_NODE_JVM_DIR | |
| ./gradlew test -Penv=ci | |
| - name: Run ldk-node-android tests | |
| env: | |
| RUSTFLAGS: "--cfg hrn_tests" | |
| run: | | |
| cd $LDK_NODE_ANDROID_DIR | |
| ./gradlew test |