Skip to content

Skip debug build when CI runs - #1666

Merged
marandaneto merged 1 commit into
mainfrom
enha/skip-debug-build-ci
Aug 19, 2021
Merged

marandaneto merged 1 commit into
mainfrom
enha/skip-debug-build-ci

Conversation

@marandaneto

@marandaneto marandaneto commented Aug 19, 2021

Copy link
Copy Markdown
Contributor

📜 Description

#skip-changelog

💡 Motivation and Context

Fix #1664

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

@romtsn

romtsn commented Aug 19, 2021

Copy link
Copy Markdown
Member

I think you could also generalize it in the root project's allprojects block as follows:

allprojects {
  ...
  plugins.withId("com.android.library") {
    extensions.getByName("android").variantFilter.ignore = Config.Android.shouldSkipDebugVariant(buildType.name)
  }
}

but I feel like there's more things we could extract to the root proj. level, so maybe we could have a separate issue for that

@marandaneto
marandaneto merged commit ed5e17e into main Aug 19, 2021
@marandaneto
marandaneto deleted the enha/skip-debug-build-ci branch August 19, 2021 16:32
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.

Improve CI by not running all the tasks for debug and release on Android

3 participants