docus icon indicating copy to clipboard operation
docus copied to clipboard

Set up continuous integration

Open Breta01 opened this issue 4 years ago • 5 comments

Use CI to speedup the release process. Any tips are welcomed as well

I ideally imagine using Github actions. The action should do following:

  • Get triggered on new release (maybe tag) created
  • Build the application in two configurations (app-release-arm.apk and app-release-multiarch.apk)
    • Upload them to newly created release
  • Create app bundle which will be uploaded to google play and create new release (Ideally using fastlane)

This will require some actions on my side as well. And I am prepared to cooperate on that.

This blog post could be useful.

Breta01 avatar Jun 20 '21 15:06 Breta01

Hello, I'll make a V1 of this shortly

Mrgove10 avatar Oct 23 '21 22:10 Mrgove10

Awesome! Let me know if you need any actions on my side (e.g. adding variables to GitHub environment). Thank you for your effort.

Breta01 avatar Oct 24 '21 01:10 Breta01

Just set up a First version, I can't seam to get it to build ? What is your buildprocess ? Any specific versions ?

Here is the error : image

Mrgove10 avatar Oct 24 '21 11:10 Mrgove10

Seems like issue with the NDK version. There is actually fixed version in opencv/build.gradle. I am not sure if different version will work. I will check if it is mistake on my side.

Breta01 avatar Oct 25 '21 07:10 Breta01

@Mrgove10 I just checked and there should be a way how to install specific ndk version. Can you please check this issue and try it: https://github.com/android-actions/setup-android/issues/67#issuecomment-788340363 I am using ndkVersion '21.3.6528147' for building at the moment.

Breta01 avatar Oct 25 '21 07:10 Breta01