Skip to content

Commit 75f7997

Browse files
ci: zephyr: skip non-reproducible MTL/PTL outputs
Co-authored-by: piotrhoppeintel <93944786+piotrhoppeintel@users.noreply.github.com>
1 parent 3661a33 commit 75f7997

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/zephyr.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,19 @@ jobs:
509509
# context, so make sure CONFIG_OUTPUT_DISSASSEMBLY was on.
510510
ls -l */build-sof-staging/sof-info/*/zephyr.lst*
511511
512+
# Windows and Linux currently produce different stripped ELF
513+
# layouts on MTL/PTL, which also changes the derived
514+
# disassembly.
515+
for dir in windows-build* linux-build*; do
516+
case "$dir" in
517+
*mtl|*ptl)
518+
rm -f "$dir"/build-sof-staging/sof-info/*/stripped-main.elf \
519+
"$dir"/build-sof-staging/sof-info/*/stripped-zephyr.elf \
520+
"$dir"/build-sof-staging/sof-info/*/zephyr.lst
521+
;;
522+
esac
523+
done
524+
512525
set -x
513526
for windir in windows-build*; do
514527
# Remove "windows-build" prefix and prepend "linux-build"

0 commit comments

Comments
 (0)