From 815df23c59815051a2e97672e177877d61d8ff35 Mon Sep 17 00:00:00 2001 From: chinosk <74499927+chinosk6@users.noreply.github.com> Date: Mon, 20 May 2024 21:56:09 +0800 Subject: [PATCH] Create build.yml test ci --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c4a5504 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Android CI + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - name: set up android development environment + uses: android-actions/setup-android@v2 + + - name: install dependencies + run: | + sdkmanager --install "cmake;3.22.1" + echo "cmake.dir=/usr/local/lib/android/sdk/cmake/3.22.1" > local.properties + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build + - uses: actions/upload-artifact@v2 + with: + name: GakumasLocalify + path: app/build/outputs/apk/debug/app-debug.apk