From 520e973f494ad643bac5cc0d906abc783da3a776 Mon Sep 17 00:00:00 2001 From: Isaac Sanz <85170351+Zenin0@users.noreply.github.com> Date: Fri, 10 May 2024 11:58:41 +0200 Subject: [PATCH] Delete .github/workflows/main.yml --- .github/workflows/main.yml | 54 -------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 44ab4d6..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: CI - -on: [pull_request, push] - -jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - api-level: [21, 23, 29] - steps: - - name: checkout - uses: actions/checkout@v4 - - - name: Enable KVM - run: | - sudo apt-get update - sudo apt-get install -y openjdk-17-jdk - echo "org.gradle.java.home=/usr/lib/jvm/java-17-openjdk-amd64" >> gradle.properties - 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: Gradle cache - uses: gradle/actions/setup-gradle@v3 - - - name: AVD cache - uses: actions/cache@v4 - id: avd-cache - with: - path: | - ~/.android/avd/* - ~/.android/adb* - key: avd-${{ matrix.api-level }} - - - 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 }} - 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 tests - uses: reactivecircus/android-emulator-runner@v2 - with: - api-level: ${{ matrix.api-level }} - 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