adoroszlai opened a new pull request, #4875: URL: https://github.com/apache/ozone/pull/4875
## What changes were proposed in this pull request? `hdds-rocks-native` library is used from Maven repo, if available, otherwise it is rebuilt from scratch. Rebuild takes ~15 minutes time for each affected check (`build`, `unit`, all splits of `integration`). This change adds a new `native` check, which builds the native code and runs all unit or integration tests tagged as `@Native`. Benefits: 1. Checks dependent on `build` are not hindered by the extra time required for native build. `native` check is not on the critical path. 2. `native` check can be skipped for PRs if the `hdds-rocks-native` module is not changed. https://issues.apache.org/jira/browse/HDDS-8817 ## How was this patch tested? CI for push: * Native tools built and tested in [`native` check](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5236768539/jobs/9454519333#step:6:753) * Native build skipped in other checks: [build](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5236768539/jobs/9454519063#step:6:1117), [unit](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5236768539/jobs/9454519375#step:6:899), [integration](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5236768539/jobs/9454519135#step:5:952) CI for PRs: * PR with change in native tools [triggered](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5237516920) `native` check * PR without any change in native tools [skipped](https://github.com/adoroszlai/hadoop-ozone/actions/runs/5237520937) `native` check -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
