-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
77 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,25 +19,16 @@ jobs: | |
|
||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: 'gradle' | ||
- name: Cache Gradle Build | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches/build-cache-* | ||
~/.gradle/buildOutputCleanup/cache.properties | ||
key: gradle-builds-core-${{ github.sha }} | ||
restore-keys: | | ||
gradle-builds-${{ runner.os }} | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
@@ -55,15 +46,15 @@ jobs: | |
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.maven_pgp_signingKey }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.maven_pgp_signingPassword }} | ||
- name: Upload library | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.os }}-library | ||
path: ~/.m2 | ||
|
||
test: | ||
needs: build | ||
name: Test on API ${{ matrix.api-level }} ${{ matrix.arch }} | ||
runs-on: macos-latest | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -135,37 +126,36 @@ jobs: | |
target: android-tv | ||
arch: x86 | ||
- api-level: 32 | ||
target: google_apis | ||
target: aosp_atd | ||
arch: x86_64 | ||
- api-level: 33 | ||
target: google_apis | ||
target: aosp_atd | ||
arch: x86_64 | ||
- api-level: 34 | ||
target: aosp_atd | ||
arch: x86_64 | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: 'gradle' | ||
- name: Cache Gradle Build | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches/build-cache-* | ||
~/.gradle/buildOutputCleanup/cache.properties | ||
key: gradle-builds-core-${{ github.sha }} | ||
restore-keys: | | ||
gradle-builds-${{ runner.os }} | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ runner.os }}-${{ github.sha }} | ||
restore-keys: ${{ runner.os }} | ||
save: false | ||
- name: Enable KVM group perms | ||
run: | | ||
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules | ||
sudo udevadm control --reload-rules | ||
sudo udevadm trigger --name-match=kvm | ||
- name: run tests | ||
uses: reactivecircus/android-emulator-runner@v2 | ||
with: | ||
|
@@ -183,7 +173,7 @@ jobs: | |
avd-name: ${{ matrix.api-level }}_${{ matrix.arch }} | ||
- name: Upload outputs | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-outputs | ||
name: ${{ matrix.api-level }}-${{ matrix.arch }}-test-outputs | ||
path: test/build/outputs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
val androidTargetSdkVersion by extra(33) | ||
val androidTargetSdkVersion by extra(34) | ||
val androidMinSdkVersion by extra(21) | ||
val androidBuildToolsVersion by extra("33.0.1") | ||
val androidCompileSdkVersion by extra(33) | ||
val androidNdkVersion by extra("25.1.8937393") | ||
val androidBuildToolsVersion by extra("34.0.0") | ||
val androidCompileSdkVersion by extra(34) | ||
val androidNdkVersion by extra("26.2.11394342") | ||
val androidCmakeVersion by extra("3.22.1+") |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters