Fix binary output different in different platform (#7718)

* Fix binary output different in different platform, due to the nan serialization

* Add check generated code on windows ci

* Remove resdundant script

* Fix eof, and check script

* Minor bug in gen code script

* Fix windows script, remove redundant scripts

* Undelete redundante codes

* Fix github action

* Ignore eof generate grpc

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
Saman
2023-01-11 04:04:25 +08:00
committed by GitHub
parent 40758674b1
commit 62e4d2e5b2
7 changed files with 52 additions and 69 deletions

View File

@@ -29,7 +29,7 @@ root_path = script_path.parent.absolute()
print("Generating GRPC code...")
generate_grpc_examples.GenerateGRPCExamples()
result = subprocess.run(["git", "diff", "--quiet"], cwd=root_path)
result = subprocess.run(["git", "diff", "--quiet", "--ignore-cr-at-eol"], cwd=root_path)
if result.returncode != 0:
print(