Skip to content

Bump sui-types from mainnet-v1.26.2 to mainnet-v1.27.2 #48

Bump sui-types from mainnet-v1.26.2 to mainnet-v1.27.2

Bump sui-types from mainnet-v1.26.2 to mainnet-v1.27.2 #48

name: Gemstone Android
on:
push:
branches: ["main"]
paths:
- "gemstone/**"
pull_request:
branches: ["main"]
paths:
- "gemstone/**"
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
defaults:
run:
working-directory: gemstone
steps:
- uses: actions/checkout@v3
- name: Clean space
run: |
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
echo "======================================================"
df -h
- 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
- name: Setup NDK
run: make install-ndk
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Build Android Bindings
run: |
df -h
make prepare-android && make bindgen-kotlin
make android