Add SwapResult to Transaction #1429
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 - Gemstone Android | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - "gemstone/**" | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "gemstone/**" | |
| - ".github/workflows/ci-stone-android.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| SCCACHE_GHA_ENABLED: "true" | |
| RUSTC_WRAPPER: "sccache" | |
| jobs: | |
| build_android: | |
| runs-on: ubuntu-latest | |
| env: | |
| ANDROID_NDK_HOME: /usr/local/lib/android/sdk/ndk/28.1.13356709 | |
| ANDROID_NDK_ROOT: /usr/local/lib/android/sdk/ndk/28.1.13356709 | |
| defaults: | |
| run: | |
| working-directory: gemstone | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: "17" | |
| distribution: "zulu" | |
| - name: Setup Android SDK | |
| uses: android-actions/setup-android@v3 | |
| with: | |
| packages: 'build-tools;36.0.0 platforms;android-36 ndk;28.1.13356709' | |
| - name: Restore cargo cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Run sccache-cache | |
| uses: mozilla-actions/[email protected] | |
| - name: Install just | |
| run: sudo apt install just | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@v3 | |
| - name: Build Android Bindings | |
| run: | | |
| df -h | |
| just --unstable install-android-targets | |
| just --unstable build-android |