Skip to content

Commit b3dee61

Browse files
authored
Merge pull request #49 from Rust-for-Linux/rust-ci-report
CI: Report some stats/sizes to track them over time
2 parents c81de19 + 3a4840f commit b3dee61

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,19 @@ jobs:
5959
- run: "grep 'my_i32: \\+123321' qemu-stdout.log"
6060
- if: matrix.module == 'loadable'
6161
run: grep -F 'Rust Example (exit)' qemu-stdout.log
62+
63+
# Report
64+
- if: matrix.outputdir == 'src' && matrix.module == 'loadable'
65+
run: ls -l drivers/char/rust_example/rust_example.ko
66+
- if: matrix.outputdir == 'build' && matrix.module == 'loadable'
67+
run: ls -l build/drivers/char/rust_example/rust_example.ko
68+
69+
- if: matrix.outputdir == 'src'
70+
run: ls -l vmlinux arch/x86/boot/bzImage
71+
- if: matrix.outputdir == 'build'
72+
run: ls -l build/vmlinux build/arch/x86/boot/bzImage
73+
74+
- if: matrix.outputdir == 'src'
75+
run: size vmlinux
76+
- if: matrix.outputdir == 'build'
77+
run: size build/vmlinux

0 commit comments

Comments
 (0)