Skip to content

Commit

Permalink
Disable AVD caching (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Melchior committed Nov 27, 2023
1 parent 21b7eee commit 7d2e88b
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 100 deletions.
150 changes: 75 additions & 75 deletions .github/workflows/include-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,31 +104,31 @@ jobs:
name: all-packages-${{ inputs.version-label }}
path: ./packages/build/m2-buildrepo

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: android-emulator-avd-33

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: default
# target: aosp_atd
arch: x86_64
disk-size: 4096M
ram-size: 2048M
heap-size: 1024M
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
channel: canary
script: echo "Generated AVD snapshot for caching."
# - name: AVD cache
# uses: actions/cache@v3
# id: avd-cache
# with:
# path: |
# ~/.android/avd/*
# ~/.android/adb*
# key: android-emulator-avd-33

# - name: create AVD and generate snapshot for caching
# if: steps.avd-cache.outputs.cache-hit != 'true'
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 33
# target: default
# # target: aosp_atd
# arch: x86_64
# disk-size: 4096M
# ram-size: 2048M
# heap-size: 1024M
# force-avd-creation: false
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# disable-animations: true
# channel: canary
# script: echo "Generated AVD snapshot for caching."

# TODO Can we read api level from Config.kt
- name: Run Gradle Plugin Test project
Expand Down Expand Up @@ -236,31 +236,31 @@ jobs:
name: all-packages-${{ inputs.version-label }}
path: ./packages/build/m2-buildrepo

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: android-emulator-avd-33

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: default
# target: aosp_atd
arch: x86_64
disk-size: 4096M
ram-size: 2048M
heap-size: 1024M
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
channel: canary
script: echo "Generated AVD snapshot for caching."
# - name: AVD cache
# uses: actions/cache@v3
# id: avd-cache
# with:
# path: |
# ~/.android/avd/*
# ~/.android/adb*
# key: android-emulator-avd-33

# - name: create AVD and generate snapshot for caching
# if: steps.avd-cache.outputs.cache-hit != 'true'
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 33
# target: default
# # target: aosp_atd
# arch: x86_64
# disk-size: 4096M
# ram-size: 2048M
# heap-size: 1024M
# force-avd-creation: false
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# disable-animations: true
# channel: canary
# script: echo "Generated AVD snapshot for caching."

# TODO Can we read api level from Config.kt
- name: Run Gradle Plugin Test project
Expand Down Expand Up @@ -314,31 +314,31 @@ jobs:
name: all-packages-${{ inputs.version-label }}
path: ./packages/build/m2-buildrepo

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: android-emulator-avd-33

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: default
# target: aosp_atd
arch: x86_64
disk-size: 4096M
ram-size: 2048M
heap-size: 1024M
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
channel: canary
script: echo "Generated AVD snapshot for caching."
# - name: AVD cache
# uses: actions/cache@v3
# id: avd-cache
# with:
# path: |
# ~/.android/avd/*
# ~/.android/adb*
# key: android-emulator-avd-33

# - name: create AVD and generate snapshot for caching
# if: steps.avd-cache.outputs.cache-hit != 'true'
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 33
# target: default
# # target: aosp_atd
# arch: x86_64
# disk-size: 4096M
# ram-size: 2048M
# heap-size: 1024M
# force-avd-creation: false
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# disable-animations: true
# channel: canary
# script: echo "Generated AVD snapshot for caching."

# TODO Can we read api level from Config.kt
- name: Run Gradle Plugin Test project
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -786,31 +786,31 @@ jobs:
name: packages-jvm-${{ needs.check-cache.outputs.version-label }}
path: ./packages/build/m2-buildrepo

- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: android-emulator-avd-33

- name: create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 33
target: default
# target: aosp_atd
arch: x86_64
disk-size: 4096M
ram-size: 2048M
heap-size: 1024M
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
channel: canary
script: echo "Generated AVD snapshot for caching."
# - name: AVD cache
# uses: actions/cache@v3
# id: avd-cache
# with:
# path: |
# ~/.android/avd/*
# ~/.android/adb*
# key: android-emulator-avd-33

# - name: create AVD and generate snapshot for caching
# if: steps.avd-cache.outputs.cache-hit != 'true'
# uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 33
# target: default
# # target: aosp_atd
# arch: x86_64
# disk-size: 4096M
# ram-size: 2048M
# heap-size: 1024M
# force-avd-creation: false
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
# disable-animations: true
# channel: canary
# script: echo "Generated AVD snapshot for caching."

# TODO Can we read api level from Config.kt
- name: Run Integration Tests
Expand Down

0 comments on commit 7d2e88b

Please sign in to comment.