mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 03:18:02 +00:00
2462c2b306
- balances_test: update macos-13 → macos-14 (13 no longer supported) - balances_test: fix null branch ref on schedule triggers - balances_test: fix typo anroid-results → android-results - install: fix broken NDK path reference (steps.setup-ndk not defined) - install: use cmdline-tools/latest instead of hardcoded 16.0 - Created pezkuwichain/balances_test_result repo with gh-pages - Added ACTIONS_DEPLOY_KEY secret for report deployment
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: Install dependencies for Android build
|
|
description: Contains all dependencies for Android build
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: ☕️ Install Java
|
|
uses: actions/setup-java@v4.0.0
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '17'
|
|
cache: 'gradle'
|
|
|
|
- name: Setup Android SDK
|
|
uses: android-actions/setup-android@v3
|
|
with:
|
|
cmdline-tools-version: 12266719
|
|
|
|
- name: Install NDK
|
|
run: echo "y" | sudo ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;26.1.10909125" --sdk_root=${ANDROID_SDK_ROOT}
|
|
shell: bash
|
|
|
|
- name: Set ndk.dir in local.properties
|
|
run: echo "ndk.dir=${ANDROID_SDK_ROOT}/ndk/26.1.10909125" >> local.properties
|
|
shell: bash
|
|
|
|
- name: 🦀 Install Rust
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
components: rustfmt, clippy
|
|
|
|
- name: Add targets
|
|
run: |
|
|
rustup target add armv7-linux-androideabi
|
|
rustup target add i686-linux-android
|
|
rustup target add x86_64-linux-android
|
|
rustup target add aarch64-linux-android
|
|
shell: bash |