Skip to content

Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 #65

Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0

Bump org.apache.commons:commons-compress from 1.25.0 to 1.26.0 #65

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'
permissions:
contents: read
jobs:
debug-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Download ROM
run: |
mkdir ./app/src/main/assets
cd ./app/src/main/assets
curl -OL https://github.com/topminipie/twoyi/releases/download/0.5.4-rom/rootfs.7z
- name: Install JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Install NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r26c
local-cache: true
- name: Install Rust
run: |
rustup update
rustup target add aarch64-linux-android
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
workspaces: 'app/rs'
- name: Install my fork cargo-ndk
run: |
cargo install --git https://github.com/topminipie/cargo-ndk.git
- name: Build libtwoyi.so
run: |
cd ./app/rs
cargo ndk -t arm64-v8a -o ../src/main/jniLibs build --release
- name: Check code formatting
continue-on-error: true
run: |
cd ./app/rs
cargo fmt --all -- --check
- name: Build app
run: ./gradlew assembleDebug --warning-mode all
- name: Upload Apk
uses: actions/upload-artifact@v4
with:
name: apk
path: app/build/outputs/apk/debug/app-debug.apk