kopia lustrzana https://github.com/ge0rg/aprsdroid
API level 30 and above only supported with 64-bit
rodzic
61c771ad0a
commit
2230a21d62
|
@ -80,8 +80,8 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Unit Test Reports
|
name: Unit Test Reports
|
||||||
path: build/outputs/reports
|
path: build/reports
|
||||||
if: ${{ failure() }}
|
if: always()
|
||||||
|
|
||||||
instrumentation:
|
instrumentation:
|
||||||
name: "Testing on API ${{ matrix.api-level }} for ${{ matrix.target }}"
|
name: "Testing on API ${{ matrix.api-level }} for ${{ matrix.target }}"
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
api-level: [ 15, 21, 24, 30 ]
|
api-level: [ 15, 21, 24, 31 ]
|
||||||
target: [ default, google_apis ]
|
target: [ default, google_apis ]
|
||||||
exclude:
|
exclude:
|
||||||
- api-level: 30
|
- api-level: 30
|
||||||
|
@ -132,6 +132,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
arch: ${{ matrix.api-level >= 30 && 'x86_64' || 'x86' }}
|
||||||
force-avd-creation: false
|
force-avd-creation: false
|
||||||
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
disable-animations: false
|
disable-animations: false
|
||||||
|
@ -142,16 +143,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
api-level: ${{ matrix.api-level }}
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
arch: x86
|
arch: ${{ matrix.api-level >= 30 && 'x86_64' || 'x86' }}
|
||||||
profile: Nexus 6
|
profile: Nexus 6
|
||||||
force-avd-creation: false
|
force-avd-creation: false
|
||||||
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
||||||
disable-animations: true
|
disable-animations: true
|
||||||
script: ./gradlew connectedCheck --stacktrace
|
script: ./gradlew connectedCheck --stacktrace
|
||||||
|
|
||||||
|
- name: Upload reports
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Instrument Test Reports API ${{ matrix.api-level }} ${{ matrix.target }}
|
||||||
|
path: build/reports
|
||||||
|
if: always()
|
||||||
|
|
||||||
- name: Save successful debug APK
|
- name: Save successful debug APK
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: debug apk
|
name: debug apk
|
||||||
path: build/outputs/debug/aprsdroid-debug.apk
|
path: build/outputs/apk/debug/aprsdroid-debug.apk
|
||||||
if: ${{ matrix.api-level == 30 && matrix.target == 'google_apis' }}
|
if: matrix.api-level == 31 && matrix.target == 'google_apis'
|
||||||
|
|
Ładowanie…
Reference in New Issue