Skip to content

Commit

Permalink
Merge pull request #289 from microsoft/maharrim/ci_build
Browse files Browse the repository at this point in the history
Change cmake version, split build and test steps
  • Loading branch information
larvacea authored Mar 5, 2020
2 parents 7e158d7 + a6c3860 commit bd580be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,18 @@ jobs:
run: |
cd "$Env:GITHUB_WORKSPACE\lib\android_build"
.\gradlew.bat assemble
- name: Java unit tests
run: |
cd "$Env:GITHUB_WORKSPACE\lib\android_build"
.\gradlew.bat maesdk:test
- name: Upload Reports
if: failure()
uses: actions/upload-artifact@v1
with:
name: reports
path: lib\android_build\maesdk\build\reports

# - name: Upload Artifacts
# uses: actions/upload-artifact@v1
# with:
# name: maesdk
# path: lib\android_build\maesdk\build\outputs\aar
- name: Upload Artifacts
uses: actions/upload-artifact@v1
with:
name: maesdk
path: lib\android_build\maesdk\build\outputs\aar
2 changes: 1 addition & 1 deletion lib/android_build/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.16.2"
version "3.16.4"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/android_build/maesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ android {
externalNativeBuild {
cmake {
path "src/main/cpp/CMakeLists.txt"
version "3.16.2"
version "3.16.4"
}
}
}
Expand Down

0 comments on commit bd580be

Please sign in to comment.