mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 11:02:35 +01:00
Merge pull request #6560 from TeamNewPipe/fix_ci_emulator
Specify emulator-build version in CI job
This commit is contained in:
commit
4d5b68792b
55
.github/workflows/ci.yml
vendored
55
.github/workflows/ci.yml
vendored
@ -44,35 +44,36 @@ jobs:
|
|||||||
name: app
|
name: app
|
||||||
path: app/build/outputs/apk/debug/*.apk
|
path: app/build/outputs/apk/debug/*.apk
|
||||||
|
|
||||||
# Disabled until emulator works again. see https://github.com/TeamNewPipe/NewPipe/pull/6560
|
test-android:
|
||||||
# test-android:
|
|
||||||
# macos has hardware acceleration. See android-emulator-runner action
|
# macos has hardware acceleration. See android-emulator-runner action
|
||||||
# runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# api-level 19 is min sdk, but throws errors related to desugaring
|
# api-level 19 is min sdk, but throws errors related to desugaring
|
||||||
# api-level: [21, 29]
|
api-level: [ 21, 29 ]
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
#
|
|
||||||
# - name: set up JDK 8
|
- name: set up JDK 8
|
||||||
# uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
# with:
|
with:
|
||||||
# java-version: 8
|
java-version: 8
|
||||||
# distribution: "adopt"
|
distribution: "adopt"
|
||||||
#
|
|
||||||
# - name: Cache Gradle dependencies
|
- name: Cache Gradle dependencies
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: ~/.gradle/caches
|
path: ~/.gradle/caches
|
||||||
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
# restore-keys: ${{ runner.os }}-gradle
|
restore-keys: ${{ runner.os }}-gradle
|
||||||
#
|
|
||||||
# - name: Run android tests
|
- name: Run android tests
|
||||||
# uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
# with:
|
with:
|
||||||
# api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
# script: ./gradlew connectedCheck
|
# workaround to emulator bug: https://github.com/ReactiveCircus/android-emulator-runner/issues/160
|
||||||
|
emulator-build: 7425822
|
||||||
|
script: ./gradlew connectedCheck
|
||||||
|
|
||||||
# sonar:
|
# sonar:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user