SDK build tools 35.0.0, command-line tools 16.0. (#408)

This commit is contained in:
Yang
2024-10-07 00:50:35 +11:00
committed by GitHub
parent 1b985f4c7a
commit 3a18f50216
8 changed files with 35 additions and 51 deletions
+12 -22
View File
@@ -18,42 +18,32 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
os: [ubuntu-latest]
api-level: [23, 29]
target: [default, google_apis]
arch: [x86]
exclude:
- target: google_apis
api-level: 16
- target: google_apis
api-level: 23
- target: google_apis
api-level: 29
include:
- os: ubuntu-latest
api-level: 23
target: default
arch: x86
- os: ubuntu-latest
api-level: 24
target: playstore
arch: x86
- os: ubuntu-latest
api-level: 30
target: aosp_atd
arch: x86
- os: macos-latest
- os: macos-13
api-level: 31
target: google_apis
target: default
arch: x86_64
- os: ubuntu-latest
api-level: 34
target: aosp_atd
arch: x86_64
- os: ubuntu-latest
api-level: 35
target: google_apis
arch: x86_64
steps:
- name: checkout
uses: actions/checkout@v4
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: build, test and lint
run: |
npm install
@@ -64,7 +54,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version: 23
- uses: actions/cache@v4
id: avd-cache
@@ -75,7 +65,7 @@ jobs:
~/.android/debug.keystore
key: avd-${{ matrix.api-level }}-${{ matrix.os }}-${{ matrix.target }}
- uses: gradle/actions/setup-gradle@v3
- uses: gradle/actions/setup-gradle@v4
- name: assemble tests
working-directory: test-fixture
+4 -9
View File
@@ -9,14 +9,14 @@ on:
api-level:
description: 'API level of the platform and system image'
required: true
default: '30'
default: '34'
target:
description: 'target of the system image - default, google_apis, google_apis_playstore, aosp_atd, google_atd, android-wear, android-wear-cn, android-tv or google-tv'
required: true
default: 'default'
arch:
description: 'CPU architecture of the system image - x86, x86_64 or arm64-v8a'
default: 'x86'
default: 'x86_64'
emulator-options:
description: 'command-line options used when launching the emulator'
default: '-no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim'
@@ -41,9 +41,6 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: build, test and lint
run: |
npm install
@@ -54,11 +51,9 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version: 23
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- uses: gradle/actions/setup-gradle@v4
- name: enable KVM for linux runners
if: runner.os == 'Linux'