Skip to content

feat(branding): replace ZeroClaw branding with PhoneClaw across app #17

feat(branding): replace ZeroClaw branding with PhoneClaw across app

feat(branding): replace ZeroClaw branding with PhoneClaw across app #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
inputs:
skip-emu-tests:
description: "Reserved for compatibility"
type: boolean
default: true
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
quality-and-debug-build:
name: Lint + Debug Build
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Apply submodule patches
run: if ls patches/*.patch 1>/dev/null 2>&1; then cd zeroclaw && git apply ../patches/*.patch; fi
- name: Ensure embedded web assets exist
run: |
mkdir -p zeroclaw/web/dist
if [ ! -f zeroclaw/web/dist/index.html ]; then
printf '%s\n' '<!doctype html><html><body>OpenClaw Web UI placeholder</body></html>' > zeroclaw/web/dist/index.html
fi
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- uses: android-actions/setup-android@v3
- name: Install NDK
run: sdkmanager "ndk;27.2.12479018"
- uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android,x86_64-linux-android
- name: Install cargo-ndk
run: cargo install cargo-ndk
- uses: Swatinem/rust-cache@v2
with:
workspaces: zeroclaw-android -> target
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Kotlin formatting and static checks
run: ./gradlew spotlessCheck detekt
- name: Build debug APK
run: ./gradlew :app:assembleDebug
- name: Upload debug APK artifact
uses: actions/upload-artifact@v4
with:
name: phoneclaw-debug-apk
path: app/build/outputs/apk/debug/phoneclaw.apk
if-no-files-found: error