File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 3131 ANDROID_API : ${{ matrix.ANDROID_API }}
3232 ANDROID_ARCH : ${{ matrix.ANDROID_ARCH }}
3333 steps :
34+ - name : Checkout tools repo
35+ uses : actions/checkout@v5
36+ with :
37+ repository : amrsa1/Android-Emulator-image
38+ path : Android-Emulator-image
39+ - name : " Launch emulator (Docker)"
40+ timeout-minutes : 20
41+ working-directory : Android-Emulator-image
42+ run : |
43+ docker build \
44+ --build-arg ARCH=x86_64 \
45+ --build-arg TARGET=google_apis_playstore\
46+ --build-arg API_LEVEL=31 \
47+ --build-arg BUILD_TOOLS=31.0.0 \
48+ --build-arg EMULATOR_DEVICE="Nexus 6" \
49+ --build-arg EMULATOR_NAME=nexus \
50+ -t my-android-image .
51+ docker exec --privileged -it -e EMULATOR_TIMEOUT=300 androidContainer bash -c "./start_emu_headless.sh"
52+ adb shell 'echo Hello World'
53+
3454 - name : " Launch emulator"
3555 timeout-minutes : 10
3656 run : |
You can’t perform that action at this time.
0 commit comments