Skip to content

Commit ac5adf2

Browse files
committed
WIP: Try setting up an emulator in CI
1 parent 4c20195 commit ac5adf2

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,30 @@ jobs:
4646
asset_name: android-frida-interception-script-${{ github.ref }}.js
4747
file: ./build/android-frida-interception-script.js
4848
tag: ${{ github.ref }}
49-
repo_token: ${{ secrets.GITHUB_TOKEN }}
49+
repo_token: ${{ secrets.GITHUB_TOKEN }}
50+
51+
test-android:
52+
steps:
53+
- uses: actions/checkout@v4
54+
- name: Set up Python
55+
uses: actions/setup-python@v5
56+
with:
57+
python-version: '3.11'
58+
- name: Set up Android SDK and Emulator
59+
uses: reactivecircus/android-emulator-runner@v2
60+
with:
61+
api-level: 30
62+
target: google_apis
63+
arch: x86_64
64+
profile: pixel_3a
65+
emulator-options: -no-window -no-audio -no-boot-anim
66+
disable-animations: true
67+
script: |
68+
adb devices
69+
echo "Emulator started."
70+
- name: Install Frida CLI
71+
run: |
72+
pip install --user frida-tools
73+
echo "$HOME/.local/bin" >> $GITHUB_PATH
74+
- name: Prepare emulator
75+
run: bash ci/setup-emulator.sh

0 commit comments

Comments
 (0)