Skip to content

Commit

Permalink
add github actions file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ildar Mulyukov committed Jun 12, 2020
1 parent e0e0217 commit cd5499d
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 34 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Android build

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: "Prepare Android build"
uses: vgaidarji/android-github-actions-build@v1.0.1
with:
args: "${ANDROID_HOME}/tools/bin/sdkmanager --install 'ndk;16.1.4479499'"
- name: "deps"
run: |
./gradlew dependencies
- name: "build"
run: |
./gradlew build
- name: Archive build artifacts
uses: actions/upload-artifact@v1
with:
name: outputs
path: app/build/outputs
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
buildToolsVersion "28.0.3"

defaultConfig {
minSdkVersion 19
minSdkVersion 9
targetSdkVersion 28
externalNativeBuild {
ndkBuild {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.3.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
14 changes: 0 additions & 14 deletions project.properties

This file was deleted.

0 comments on commit cd5499d

Please sign in to comment.