-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
optimize: require ARM64 binary #4963
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4963 +/- ##
=============================================
- Coverage 49.23% 48.72% -0.51%
+ Complexity 4117 4079 -38
=============================================
Files 737 736 -1
Lines 25827 25818 -9
Branches 3193 3184 -9
=============================================
- Hits 12715 12579 -136
- Misses 11764 11905 +141
+ Partials 1348 1334 -14
|
dependencies/pom.xml
Outdated
|
||
<protobuf.version>3.7.1</protobuf.version> | ||
<grpc.version>1.17.1</grpc.version> | ||
<protobuf-maven-plugin.version>0.6.1</protobuf-maven-plugin.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependencies
module should not contains plugin version, I think you should probably define it in the build
module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated it in the build module as per your suggestion.
@odidev
|
https://docs.github.com/en/actions/hosting-your-own-runners/using-self-hosted-runners-in-a-workflow |
workflow output
https://github.com/seata/seata/actions/runs/3135923871/jobs/5092189894 |
@odidev Any responses to the questions above? |
@slievrly almost done, few things are left, it will take little more time. And sorry for the delay. |
It's just a warning because, we are running an arm64 script over the amd machine using qemu.. I verified that hosted platform is also compatible for arm64 by using |
@odidev what do you think about of running on |
I have built arm64-binary by using self-hosted arm64 runners which has to be hosted on arm64 machine. If it is fine, then we can get access to ARM H/W through WorksOnArm Self-Hosted arm64 Runner in GitHub-actions: GHA Logs Link: https://github.com/odidev/seata/actions/runs/3226451554/jobs/5279982536 If you agree, I will amend the PR. |
Why not just use |
@odidev I had some wrong understanding of this solution before, but now I have a clear understanding through github documents. I suggest using the QEMU method, but this workflow takes a long time to execute. I don't think it is suitable to put it on pull_ request. I suggest putting it into the on push branch only for execution. |
It's ok to put it on a branch only for execution. Please let me know if I should commit the code to any specific branch or same branch works for you? |
@odidev |
Signed-off-by: odidev <odidev@puresoftware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@odidev thanks for your contribution. |
Modified file .github/workflows/test.yml, dependencies/pom.xml, discovery/seata-discovery-etcd3/pom.xml, discovery/seata-discovery-etcd3/src/test/java/io/seata/discovery/registry/etcd/EtcdRegistryServiceImplTest.java, integration/grpc/pom.xml and serializer/seata-serializer-protobuf/pom.xml for arm64 binary
Signed-off-by: odidev odidev@puresoftware.com