Skip to content

fix: use x86_64 arch for Android API 33 emulator #20

fix: use x86_64 arch for Android API 33 emulator

fix: use x86_64 arch for Android API 33 emulator #20

name: AppClaw Action
on:
pull_request:
workflow_dispatch:
inputs:
flow:
description: 'Path to YAML flow file in your repo'
required: false
default: 'flows/wdio.yaml'
goal:
description: 'Natural language goal (leave empty to use flow instead)'
required: false
default: ''
platform:
description: 'Platform to test'
required: false
default: 'android'
type: choice
options: [android, ios]
jobs:
# ── Test 1: YAML flow on Android ────────────────────────────────────────────
# Runs on every PR (default) and on manual dispatch with android + no goal
android-flow:
name: Android — YAML flow
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || (inputs.platform == 'android' && inputs.goal == '')
steps:
- uses: actions/checkout@v4
- uses: ./github-action
id: run
with:
use-local-build: 'true'
flow: ${{ inputs.flow || 'flows/wdio.yaml' }}
platform: android
provider: gemini
agent-mode: vision
api-key: ${{ secrets.LLM_API_KEY }}
report-name: layer3-android-flow-${{ github.run_id }}
- name: Show report path
if: always()
run: echo "Report → ${{ steps.run.outputs.report-path }}"
# ── Test 2: Natural language goal on Android ─────────────────────────────────
# Runs only on manual dispatch with a goal specified
android-goal:
name: Android — natural language goal
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' && inputs.platform == 'android' && inputs.goal != ''
steps:
- uses: actions/checkout@v4
- uses: ./github-action
id: run
with:
use-local-build: 'true'
goal: ${{ inputs.goal }}
platform: android
provider: gemini
agent-mode: vision
api-key: ${{ secrets.LLM_API_KEY }}
report-name: layer3-android-goal-${{ github.run_id }}
- name: Show report path
if: always()
run: echo "Report → ${{ steps.run.outputs.report-path }}"
# ── Test 3: YAML flow on iOS ─────────────────────────────────────────────────
# Runs only on manual dispatch with ios platform selected
ios-flow:
name: iOS — YAML flow
runs-on: macos-14
if: github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && inputs.platform == 'ios')
steps:
- uses: actions/checkout@v4
- uses: ./github-action
id: run
with:
use-local-build: 'true'
flow: ${{ inputs.flow || 'flows/wdio.yaml' }}
platform: ios
provider: gemini
agent-mode: vision
api-key: ${{ secrets.LLM_API_KEY }}
report-name: layer3-ios-flow-${{ github.run_id }}
- name: Show report path
if: always()
run: echo "Report → ${{ steps.run.outputs.report-path }}"