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

Redefines the Gradle build strategy #174

Closed

Conversation

juanpedromoreno
Copy link
Contributor

This PR could be considered a WIP, even if it's finally merged. Further iterations and optimizations will be required.

Initially, the objective of this PR is to decrease the build time. For that reason:

  • I'm creating a pipeline matrix with the different platforms: jvm, js, linuxX64, macosX64, mingwX64 (notice I've removed macosArm64 due to some incompatibilities).
  • I split the constructions and tests into multi-platform and single-platform (JVM). This could be done by creating the groups at the Gradle level, which could be the subject of further improvements.
  • Regarding JS, I'm not building for browser and node, which might be required for certain modules, but I left that out of this work.

Result

Hopefully, the build times should be reduced by more than 10 minutes.

Only js platform

Platform is not necessary for single-platform

Unifies gradlew commands

Removes macosarm64

Improves build commands

on pull_request
@juanpedromoreno juanpedromoreno changed the base branch from cu-861mwhnjx-split-kotlinx-serialization to main June 7, 2023 20:07
@juanpedromoreno juanpedromoreno changed the base branch from main to cu-861mwhnjx-split-kotlinx-serialization June 7, 2023 20:08
@juanpedromoreno
Copy link
Contributor Author

Supersed by #175

@juanpedromoreno juanpedromoreno deleted the build-matrix branch June 7, 2023 20:08
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.

1 participant