From ca947fec909290c2a730942ed1f665ba6cf108b8 Mon Sep 17 00:00:00 2001 From: Jegatheeswaran M Date: Thu, 2 Jun 2022 15:24:23 +0530 Subject: [PATCH] Create android_build.yml --- .github/workflows/android_build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/android_build.yml diff --git a/.github/workflows/android_build.yml b/.github/workflows/android_build.yml new file mode 100644 index 0000000000..ce7c3139ab --- /dev/null +++ b/.github/workflows/android_build.yml @@ -0,0 +1,27 @@ +name: Android Build CI + +on: + push: + branches: [ feature/gitactions-build ] + pull_request: + branches: [ feature/gitactions-build ] + +jobs: + build: + + runs-on: [ self-hosted ] + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + - name: Setup Android SDK + uses: android-actions/setup-android@v2 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Unit Test + run: ./gradlew testDebugUnitTest