From b444883b91dd6fc586fb8d23f4070a2d77b5e70b Mon Sep 17 00:00:00 2001 From: Yelin Jeong Date: Mon, 15 Apr 2024 19:22:02 +0900 Subject: [PATCH] Action: Add github action gradle build Signed-off-by: Yelin Jeong --- .github/workflows/android.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..51f5cc5 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,22 @@ +name: Android Build Test + +on: + push: + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - uses: nttld/setup-ndk@v1 + id: setup-ndk + with: + ndk-version: r25c + link-to-sdk: true + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: -${{ github.event.pull_request.commits }} + - name: Setup Gradle + uses: gradle/gradle-build-action@v3 + with: + arguments: build