mirror of https://github.com/Nonannet/copapy.git
ci: updated for showing arm disassembly
This commit is contained in:
parent
51f6eb1538
commit
e6d80da332
|
|
@ -60,10 +60,15 @@ jobs:
|
||||||
objdump -D -b binary -m i386:x86-64 --adjust-vma=0x1000 bin/test.copapy.bin > bin/test.copapy.asm
|
objdump -D -b binary -m i386:x86-64 --adjust-vma=0x1000 bin/test.copapy.bin > bin/test.copapy.asm
|
||||||
echo '<p>test.copapy.asm</p>' >> $GITHUB_STEP_SUMMARY
|
echo '<p>test.copapy.asm</p>' >> $GITHUB_STEP_SUMMARY
|
||||||
python tools/clean_asm.py bin/test.copapy.asm >> $GITHUB_STEP_SUMMARY
|
python tools/clean_asm.py bin/test.copapy.asm >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
objdump -d -x src/copapy/obj/stencils_x86_64_O3.o > bin/stencils_x86_64_O3.asm
|
objdump -d -x src/copapy/obj/stencils_x86_64_O3.o > bin/stencils_x86_64_O3.asm
|
||||||
echo '<p>stencils_x86_64_O3.asm</p>' >> $GITHUB_STEP_SUMMARY
|
echo '<p>stencils_x86_64_O3.asm</p>' >> $GITHUB_STEP_SUMMARY
|
||||||
python tools/clean_asm.py bin/stencils_x86_64_O3.asm >> $GITHUB_STEP_SUMMARY
|
python tools/clean_asm.py bin/stencils_x86_64_O3.asm >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
|
objdump -d -x src/copapy/obj/stencils_arm64_O3.o > bin/stencils_arm64_O3.asm
|
||||||
|
echo '<p>stencils_arm64_O3.asm</p>' >> $GITHUB_STEP_SUMMARY
|
||||||
|
python tools/clean_asm.py bin/stencils_arm64_O3.asm >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: Run tests with pytest
|
- name: Run tests with pytest
|
||||||
run: pytest
|
run: pytest
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -188,5 +188,6 @@ if __name__ == "__main__":
|
||||||
for t1 in types:
|
for t1 in types:
|
||||||
code += get_write_code(t1)
|
code += get_write_code(t1)
|
||||||
|
|
||||||
|
print(f"Write file {args.path}...")
|
||||||
with open(args.path, 'w') as f:
|
with open(args.path, 'w') as f:
|
||||||
f.write(code)
|
f.write(code)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue