diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-04-09 10:16:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 10:16:28 +0200 |
commit | c7ef3608d9a458883eb2aac0c1877275645d6af3 (patch) | |
tree | 652bd05ee8a19ff531946dc85a5cc5c435ca70b6 | |
parent | c47e9d201d57acf9e4946e47cd63aac3b506ce7c (diff) |
CI: fix `Performance` job (#1936)
Fix: 7714507f
-rw-r--r-- | .github/workflows/build_scheduled.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/build_scheduled.yml b/.github/workflows/build_scheduled.yml index 4f051bdb3..42b2084a9 100644 --- a/.github/workflows/build_scheduled.yml +++ b/.github/workflows/build_scheduled.yml @@ -101,8 +101,11 @@ jobs: run: | ./tests/do.sh mkdir ndpi-performance-upload - mv -v tests/result/cpu_profile.png ndpi-performance-upload/cpu_profile.png - mv -v tests/result/heap_profile.png ndpi-performance-upload/heap_profile.png + for d in $(find ./tests/cfgs/* -type d -maxdepth 0 2>/dev/null) ; do + PROFILE="$(basename $d)" + mv -v tests/cfgs/${PROFILE}/result/cpu_profile.png ndpi-performance-upload/${PROFILE}_cpu_profile.png + mv -v tests/cfgs/${PROFILE}/result/heap_profile.png ndpi-performance-upload/${PROFILE}_heap_profile.png + done - uses: actions/upload-artifact@v3 with: name: ndpi-performance |