Update SQLite to v3.45.0 (#189) #47
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
name: ci | |
permissions: | |
contents: read | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
api-level: [29] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: "17" | |
distribution: "adopt" | |
- name: Run Android tests | |
uses: reactivecircus/android-emulator-runner@e790971012b979513b4e2fe70d4079bc0ca8a1ae | |
with: | |
api-level: ${{ matrix.api-level }} | |
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | |
disable-animations: true | |
arch: x86 | |
script: ./gradlew connectedAndroidTest --stacktrace | |
- name: Upload results | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v2 | |
with: | |
name: instrumentation-test-results ${{ matrix.api-level }} | |
path: ./**/build/reports/androidTests/connected/** | |
- name: Upload snapshot (master only) | |
env: | |
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SonatypeUsername }} | |
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SonatypePassword }} | |
run: ./gradlew publish | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' |