forked from open-eid/MOPP-Android
-
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.
- Loading branch information
1 parent
e5a06df
commit 3a5aa14
Showing
1 changed file
with
11 additions
and
7 deletions.
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 |
---|---|---|
|
@@ -12,20 +12,24 @@ workflows: | |
repo-ria: | ||
name: RIA DigiDoc Android - Repo.ria configuration | ||
max_build_duration: 30 | ||
instance_type: mac_mini_m1 | ||
instance_type: mac_mini_m2 | ||
environment: | ||
java: 17 | ||
scripts: | ||
- *set_android_sdk_location | ||
- *get_app_version | ||
- name: Setup Gradle and Build RIA DigiDoc | ||
- name: Run tests | ||
script: | | ||
./gradlew clean --no-daemon fetchAndPackageDefaultConfiguration -PappVersionName=$APP_VERSION_NAME.$PROJECT_BUILD_NUMBER assemble --debug -PskipGoogleServices | ||
- name: Rename APK | ||
./gradlew clean test --no-daemon | ||
- name: Build RIA DigiDoc | ||
script: | | ||
mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/"RIA_DigiDoc_$APP_VERSION_NAME.$PROJECT_BUILD_NUMBER-unsigned.apk" | ||
./gradlew clean --no-daemon fetchAndPackageDefaultConfiguration -PappVersionName=$APP_VERSION_NAME.$PROJECT_BUILD_NUMBER assemble --debug | ||
- name: Rename and move APK | ||
script: | | ||
mkdir artifact/ | ||
mv app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/debug/artifact/"RIA_DigiDoc_dev_$APP_VERSION_NAME.$PROJECT_BUILD_NUMBER.apk" | ||
artifacts: | ||
- app/build/outputs/apk/release/*.apk | ||
- app/build/outputs/apk/debug/artifact/*.apk | ||
publishing: | ||
email: | ||
recipients: | ||
|
@@ -60,4 +64,4 @@ workflows: | |
- [email protected] | ||
notify: | ||
success: true | ||
failure: true | ||
failure: true |