From 85a5792313d58c517049edd4aeb456a19038492d Mon Sep 17 00:00:00 2001 From: Mohsen Date: Thu, 14 Dec 2023 12:14:54 +0100 Subject: [PATCH] Add CI --- .github/CODEOWNERS | 8 ++++++++ .github/workflows/android.yml | 26 ++++++++++++++++++++++++++ gradlew | 0 3 files changed, 34 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/android.yml mode change 100644 => 100755 gradlew diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..6a69b4c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# This is a comment. +# Each line is a file pattern followed by one or more owners. + +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +# @global-owner1 and @global-owner2 will be requested for +# review when someone opens a pull request. +* @mohsenoid diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..a9caae2 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,26 @@ +name: Android CI + +concurrency: + group: ${{ github.head_ref }} + cancel-in-progress: true + +on: [ push, pull_request ] + +jobs: + build: + + runs-on: ubuntu-latest + timeout-minutes: 20 + + steps: + - name: Checkout repo + uses: actions/checkout@v1 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'adopt' + java-version: 17 + + - name: Test and Build + run: ./gradlew build diff --git a/gradlew b/gradlew old mode 100644 new mode 100755