Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup a build workflow #3

Merged
merged 2 commits into from
Jan 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: [ubuntu-latest]

steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Test Application
run: ./gradlew check

- name: Build Debug APK
run: ./gradlew assembleDebug
3 changes: 3 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ dependencies {

implementation(deps.google.daggerHilt)
kapt(deps.google.daggerHiltCompiler)

testImplementation(deps.testing.jUnit)
androidTestImplementation(deps.testing.jUnitExt)
}
3 changes: 3 additions & 0 deletions data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,7 @@ dependencies {

implementation(deps.google.daggerHilt)
kapt(deps.google.daggerHiltCompiler)

testImplementation(deps.testing.jUnit)
androidTestImplementation(deps.testing.jUnitExt)
}
3 changes: 3 additions & 0 deletions domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,7 @@ android {
dependencies {
implementation(deps.kotlin.stdLib)
implementation(deps.kotlin.coroutinesCore)

testImplementation(deps.testing.jUnit)
androidTestImplementation(deps.testing.jUnitExt)
}
14 changes: 8 additions & 6 deletions openCVLibrary3413/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.opencv"
android:versionCode="34130"
android:versionName="3.4.13">
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.opencv"
android:versionCode="34130"
android:versionName="3.4.13">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="21" />
</manifest>
<uses-permission android:name="android.permission.CAMERA"/>

</manifest>