From 8b4d6dd02bc3c2c00c1846d15bc8176fefee28d2 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 | 21 +++++++++++++++++++++ gradlew | 0 3 files changed, 29 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..b32443c --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,21 @@ +name: Android CI + +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 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Test and Build + run: ./gradlew build diff --git a/gradlew b/gradlew old mode 100644 new mode 100755