diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 250f3b8..5114815 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,70 +56,70 @@ jobs: with: arguments: test --full-stacktrace - android-tests: - runs-on: ubuntu-latest - timeout-minutes: 35 - needs: [ build-gradle, unit-tests ] - strategy: - matrix: - api-level: [ 33 ] #[ 26,33 ] - target: [ google_apis ] - arch: [ x86_64 ] - permissions: - contents: read - steps: - - name: Enable KVM - 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: Checkout the code - uses: actions/checkout@v4 - - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: "temurin" - - - name: Validate Gradle Wrapper - uses: gradle/actions/wrapper-validation@v3 - - - name: Gradle Setup - uses: gradle/actions/setup-gradle@v3 - - - name: AVD cache - uses: actions/cache@v3 - id: avd-cache - with: - path: | - ~/.android/avd/* - ~/.android/adb* - key: avd-${{ matrix.api-level }}-${{ matrix.target }}-${{ matrix.arch }} - - - name: Create AVD and generate snapshot for caching - if: steps.avd-cache.outputs.cache-hit != 'true' - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: ${{ matrix.api-level }} - target: ${{ matrix.target }} - arch: ${{ matrix.arch }} - force-avd-creation: false - emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - disable-animations: false - script: echo "Generated AVD snapshot for caching." - - - name: Run android tests - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: ${{ matrix.api-level }} - target: ${{ matrix.target }} - arch: ${{ matrix.arch }} - force-avd-creation: false - emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none - disable-animations: true - script: ./gradlew connectedCheck --stacktrace + # android-tests: + # runs-on: ubuntu-latest + # timeout-minutes: 35 + # needs: [ build-gradle, unit-tests ] + # strategy: + # matrix: + # api-level: [ 33 ] #[ 26,33 ] + # target: [ google_apis ] + # arch: [ x86_64 ] + # permissions: + # contents: read + # steps: + # - name: Enable KVM + # 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: Checkout the code + # uses: actions/checkout@v4 + # + # - name: Set up JDK 17 + # uses: actions/setup-java@v4 + # with: + # java-version: 17 + # distribution: "temurin" + # + # - name: Validate Gradle Wrapper + # uses: gradle/actions/wrapper-validation@v3 + # + # - name: Gradle Setup + # uses: gradle/actions/setup-gradle@v3 + # + # - name: AVD cache + # uses: actions/cache@v3 + # id: avd-cache + # with: + # path: | + # ~/.android/avd/* + # ~/.android/adb* + # key: avd-${{ matrix.api-level }}-${{ matrix.target }}-${{ matrix.arch }} + # + # - name: Create AVD and generate snapshot for caching + # if: steps.avd-cache.outputs.cache-hit != 'true' + # uses: reactivecircus/android-emulator-runner@v2 + # with: + # api-level: ${{ matrix.api-level }} + # target: ${{ matrix.target }} + # arch: ${{ matrix.arch }} + # force-avd-creation: false + # emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + # disable-animations: false + # script: echo "Generated AVD snapshot for caching." + # + # - name: Run android tests + # uses: reactivecircus/android-emulator-runner@v2 + # with: + # api-level: ${{ matrix.api-level }} + # target: ${{ matrix.target }} + # arch: ${{ matrix.arch }} + # force-avd-creation: false + # emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none + # disable-animations: true + # script: ./gradlew connectedCheck --stacktrace publish-to-snapshot: name: Publish SNAPSHOT to sonatype.org diff --git a/README.md b/README.md index c84a558..193136c 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ file. ```kotlin dependencies { // EUDI Wallet Documents Manager library - implementation("eu.europa.ec.eudi:eudi-lib-android-wallet-document-manager:0.6.0-SNAPSHOT") + implementation("eu.europa.ec.eudi:eudi-lib-android-wallet-document-manager:0.6.0") // Optional: Use the identity-android library if you want to use the implementations for StorageEngine and SecureArea // for Android devices, provided by the OpenWallet Foundation diff --git a/gradle.properties b/gradle.properties index 248df90..a42bd51 100644 --- a/gradle.properties +++ b/gradle.properties @@ -42,7 +42,7 @@ systemProp.sonar.host.url=https://sonarcloud.io systemProp.sonar.gradle.skipCompile=true systemProp.sonar.coverage.jacoco.xmlReportPaths=build/reports/jacoco/testDebugUnitTestCoverage/testDebugUnitTestCoverage.xml,build/reports/jacoco/testReleaseUnitTestCoverage/testReleaseUnitTestCoverage.xml systemProp.sonar.projectName=eudi-lib-android-wallet-document-manager -VERSION_NAME=0.6.0-SNAPSHOT +VERSION_NAME=0.6.0 SONATYPE_HOST=S01 SONATYPE_AUTOMATIC_RELEASE=false