diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7a951e8..5744e083 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,9 +9,6 @@ jobs: ANDROID_BASE_CHECKS: name: Base Checks runs-on: ubuntu-latest - env: - SIGNING_KEY: ${{ secrets.SIGNING_KEY }} - SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -20,18 +17,14 @@ jobs: distribution: temurin cache: gradle - name: Perform base checks - run: ./gradlew demo:assembleDebug lib:deployLocal + run: ./gradlew demo:assembleDebug lib:deployLocal --stacktrace ANDROID_EMULATOR_TESTS: name: Emulator Tests runs-on: ubuntu-latest - # Temporary workaround for deployer issue - env: - SIGNING_KEY: ${{ secrets.SIGNING_KEY }} - SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} strategy: fail-fast: false matrix: - EMULATOR_API: [23, 25, 29] + EMULATOR_API: [24, 27, 29, 31, 34] steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -54,10 +47,18 @@ jobs: arch: x86_64 profile: Nexus 6 emulator-options: -no-snapshot -no-window -no-boot-anim -camera-back none -camera-front none -gpu swiftshader_indirect - script: ./.github/workflows/emulator_script.sh + script: ./.github/workflows/emulator_script.sh logcat_${{ matrix.EMULATOR_API }}.txt + + - name: Upload emulator logs + uses: actions/upload-artifact@v4 + if: always() + with: + name: emulator_logs_${{ matrix.EMULATOR_API }} + path: ./logcat_${{ matrix.EMULATOR_API }}.txt - name: Upload emulator tests artifact uses: actions/upload-artifact@v4 + if: always() with: name: emulator_tests_${{ matrix.EMULATOR_API }} path: ./lib/build/reports/androidTests/connected/debug/ \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7fcc894..812d3844 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,6 @@ jobs: distribution: temurin cache: gradle - name: Publish to Maven Central - run: ./gradlew deployNexus + run: ./gradlew deployNexus --stacktrace - name: Publish to GitHub Packages - run: ./gradlew deployGithub + run: ./gradlew deployGithub --stacktrace diff --git a/.github/workflows/emulator_script.sh b/.github/workflows/emulator_script.sh index af4ea4bb..58a57fb1 100755 --- a/.github/workflows/emulator_script.sh +++ b/.github/workflows/emulator_script.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash -ADB_TAGS="Transcoder:I Engine:I" -ADB_TAGS="$ADB_TAGS DefaultVideoStrategy:I DefaultAudioStrategy:I" -ADB_TAGS="$ADB_TAGS VideoDecoderOutput:I VideoFrameDropper:I" -ADB_TAGS="$ADB_TAGS AudioEngine:I" adb logcat -c -adb logcat $ADB_TAGS *:E -v color & +adb logcat *:V > "$1" & +LOGCAT_PID=$! +trap "kill $LOGCAT_PID" EXIT ./gradlew lib:connectedCheck --stacktrace \ No newline at end of file diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 370794bf..e1914ec5 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -24,4 +24,4 @@ jobs: distribution: temurin cache: gradle - name: Publish nexus snapshot - run: ./gradlew deployNexusSnapshot \ No newline at end of file + run: ./gradlew deployNexusSnapshot --stacktrace \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore index 26d33521..f0c75ba1 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,3 +1,5 @@ # Default ignored files /shelf/ /workspace.xml +androidTestResultsUserPreferences.xml +deploymentTargetDropDown.xml diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml deleted file mode 100644 index 81d2a465..00000000 --- a/.idea/deploymentTargetDropDown.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 96913344..75ba98d7 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -11,6 +11,7 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index 53b7407a..2189e580 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/.idea/runConfigurations/deployLocal.xml b/.idea/runConfigurations/deployLocal.xml index f7ebf23b..ca2317c2 100644 --- a/.idea/runConfigurations/deployLocal.xml +++ b/.idea/runConfigurations/deployLocal.xml @@ -10,7 +10,7 @@