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

Feature/multi env #10

Merged
merged 5 commits into from
Mar 2, 2020
Merged

Feature/multi env #10

merged 5 commits into from
Mar 2, 2020

Conversation

vincentbrison
Copy link
Contributor

Setup multi images based on android-api.

Also extract CI detail of implementation from github action yml, into dedicated script (ci.sh).

Fix #3 .

Vincent Brison added 4 commits February 28, 2020 18:18
Like with Fastlane, the idea is to move the ci business value behind an easy to use API, and not expose it directly from Github Action config files.
Dockerfile Outdated
@@ -58,4 +59,4 @@ RUN yes | sdkmanager --sdk_root=$ANDROID_HOME --licenses
RUN sdkmanager --sdk_root=$ANDROID_HOME --install \
"platform-tools" \
"build-tools;29.0.2" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Latest stable version is 29.0.3
  2. Build-tools add support to build certain API level. If we use android-R / android-30 API level. The project won't be able to build.
    However, if your strategy is to add support for android-30, android-31 and so on whenever there are release and update the install build-tools version, then I'm ok with that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review!
Nice catch for the version, I will update that.

About the API level, I think it will works, the plateform will be downloaded when compiling the project which needs it.

At the end the idea here is to be able to post dedicated image with api level built in, to avoid this plateform download.

Is this what you had in mind?

@vincentbrison vincentbrison merged commit b89247e into develop Mar 2, 2020
@vincentbrison vincentbrison deleted the feature/multi-env branch March 2, 2020 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants