-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from SaifulSaif007/git-workflow
Git workflow
- Loading branch information
Showing
5 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Development workflow CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- git-workflow | ||
- master | ||
|
||
jobs: | ||
build_app: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup JDK 19 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '19' | ||
distribution: 'corretto' | ||
cache: 'gradle' | ||
# cache-dependency-path: | # optional | ||
# sub-project/*.gradle* | ||
# sub-project/**/gradle-wrapper.properties | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew buildDebug --console=plain | ||
env: | ||
CLIENT_ID: ${{ secrets.CLIENT_ID }} | ||
|
||
# - name: Run Coverage | ||
# run: | ||
# ./gradlew clean testDebugUnitTestCoverage | ||
# | ||
# - name: Add coverage to PR only | ||
# if: github.event_name == 'pull_request' | ||
# id: jacoco | ||
# uses: madrapps/jacoco-report@v1.3 | ||
# with: | ||
# paths: ${{ github.workspace }}/build/reports/jacoco/testDebugUnitTestCoverage.xml | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# min-coverage-overall: 80 | ||
# min-coverage-changed-files: 80 |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
# | ||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
# Default value: -Xmx1024m -XX:MaxPermSize=256m | ||
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | ||
# | ||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. More details, visit | ||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
# org.gradle.parallel=true | ||
#Tue Oct 17 22:33:45 BDT 2023 | ||
android.defaults.buildfeatures.buildconfig=true | ||
android.enableJetifier=false | ||
android.nonFinalResIds=false | ||
android.useAndroidX=true | ||
clientID="210rEZdu_UXkCL-ntrKQ9Ya0xsluAbLZAZSR0Y8TkJs" | ||
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" |