From 7acf899203728395f5ba903ef348aea5e0c32678 Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:22:49 +0500 Subject: [PATCH 1/6] Create Fix --- Fix | 1 + 1 file changed, 1 insertion(+) create mode 100644 Fix diff --git a/Fix b/Fix new file mode 100644 index 00000000..6a480a9f --- /dev/null +++ b/Fix @@ -0,0 +1 @@ +fixing fixing checking checking running From bacc1116f5854d5188f594206c1d6f49da72493f Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:31:26 +0500 Subject: [PATCH 2/6] Create main.yml --- .github/Workflow/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/Workflow/main.yml diff --git a/.github/Workflow/main.yml b/.github/Workflow/main.yml new file mode 100644 index 00000000..5feb9a66 --- /dev/null +++ b/.github/Workflow/main.yml @@ -0,0 +1,22 @@ +name: Build and Test + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Debug Build + run: make build CONFIG=Debug + - name: Run Tests + run: make test From c4edd4f585e65ec1a127a328d9cd0ad8ccd7f37c Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:38:36 +0500 Subject: [PATCH 3/6] Delete .github/Workflow/main.yml --- .github/Workflow/main.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/Workflow/main.yml diff --git a/.github/Workflow/main.yml b/.github/Workflow/main.yml deleted file mode 100644 index 5feb9a66..00000000 --- a/.github/Workflow/main.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build and Test - -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Debug Build - run: make build CONFIG=Debug - - name: Run Tests - run: make test From 4dff12adebed533d2872de6480e98120da065a07 Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:40:57 +0500 Subject: [PATCH 4/6] Create android-debug-build.yml --- .github/Workflow/android-debug-build.yml | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/Workflow/android-debug-build.yml diff --git a/.github/Workflow/android-debug-build.yml b/.github/Workflow/android-debug-build.yml new file mode 100644 index 00000000..6dd8b68e --- /dev/null +++ b/.github/Workflow/android-debug-build.yml @@ -0,0 +1,34 @@ +name: Android Debug Build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + + - name: Grant execute permission for gradlew + run: chmod +x ./gradlew + + - name: Build Debug APK + run: ./gradlew assembleDebug + + - name: Upload APK + uses: actions/upload-artifact@v3 + with: + name: app-debug.apk + path: app/build/outputs/apk/debug/app-debug.apk From 305d8be88a31d3a7d2be0631f261a58fd1a00019 Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:47:47 +0500 Subject: [PATCH 5/6] Delete .github/Workflow/android-debug-build.yml --- .github/Workflow/android-debug-build.yml | 34 ------------------------ 1 file changed, 34 deletions(-) delete mode 100644 .github/Workflow/android-debug-build.yml diff --git a/.github/Workflow/android-debug-build.yml b/.github/Workflow/android-debug-build.yml deleted file mode 100644 index 6dd8b68e..00000000 --- a/.github/Workflow/android-debug-build.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Android Debug Build - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - - - name: Grant execute permission for gradlew - run: chmod +x ./gradlew - - - name: Build Debug APK - run: ./gradlew assembleDebug - - - name: Upload APK - uses: actions/upload-artifact@v3 - with: - name: app-debug.apk - path: app/build/outputs/apk/debug/app-debug.apk From dc0466e141e214c02707b9d6b97bf1d2018382c3 Mon Sep 17 00:00:00 2001 From: Abdullah naseem <143761991+kjjjjjjjjjjjj@users.noreply.github.com> Date: Wed, 3 Apr 2024 06:01:51 +0500 Subject: [PATCH 6/6] Create Android.yml --- .github/Workflow/Android.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/Workflow/Android.yml diff --git a/.github/Workflow/Android.yml b/.github/Workflow/Android.yml new file mode 100644 index 00000000..5deb2257 --- /dev/null +++ b/.github/Workflow/Android.yml @@ -0,0 +1,34 @@ +name: Android CI + +on: + pull_request: + branches-ignore: + - '' + push: + branches-ignore: + - '' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + + - name: Build debug.apk + run: | + chmod +x gradlew + ./gradlew assembleRelease + + - name : upload apk + uses: actions/upload-artifact@v3 + with: + name: app-debug + path: HMCLPE/build/outputs/apk/release/*