Skip to content

Commit

Permalink
fixup! Improve build configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
neodesys committed Jan 13, 2025
1 parent 4d0b127 commit d8e249a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-webdriver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
api-level: [35]
arch: [x86_64]
if: ${{ github.event.workflow_run.conclusion == "success" }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -35,11 +35,12 @@ jobs:
key: avd-${{ matrix.api-level }}

- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != "true"
if: steps.avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: ${{ matrix.api-level }}
arch: ${{ matrix.arch }}
cmake: 3.31.1
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
Expand All @@ -57,6 +58,7 @@ jobs:
with:
api-level: ${{ matrix.api-level }}
arch: ${{ matrix.arch }}
cmake: 3.31.1
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 35
cmake: 3.31.1
arch: x86_64
cmake: 3.31.1
emulator-build: 12836668
target: google_apis
force-avd-creation: false
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
Expand Down

0 comments on commit d8e249a

Please sign in to comment.