File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 36
36
with :
37
37
python-version : ' 3.13'
38
38
39
+ - name : AVD cache
40
+ uses : actions/cache@v4
41
+ id : avd-cache
42
+ with :
43
+ path : |
44
+ ~/.android/avd/*
45
+ ~/.android/adb*
46
+ key : avd-${{ matrix.api-level }}
47
+
48
+ - name : create AVD and generate snapshot for caching
49
+ if : steps.avd-cache.outputs.cache-hit != 'true'
50
+ uses : reactivecircus/android-emulator-runner@v2
51
+ with :
52
+ api-level : ${{ matrix.api-level }}
53
+ arch : ${{ matrix.arch }}
54
+ target : ${{ matrix.target }}
55
+ force-avd-creation : false
56
+ emulator-options : -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
57
+ disable-animations : false
58
+ script : echo "Generated AVD snapshot for caching."
59
+
39
60
- name : run tests
40
61
uses : reactivecircus/android-emulator-runner@v2
41
62
with :
You can’t perform that action at this time.
0 commit comments