1717 steps :
1818 - uses : actions/checkout@v4
1919
20+ - name : Create dynamic_analysis directory
21+ run : mkdir -p dynamic_analysis
22+
2023 - name : Install Build Dependencies and Valgrind
2124 run : |
2225 sudo apt-get update
@@ -45,37 +48,37 @@ jobs:
4548 working-directory : " ${{ runner.workspace }}/build"
4649 run : |
4750 echo "Running Valgrind Memcheck..."
48- valgrind --tool=memcheck --leak-check=full --error-exitcode=1 ./lwlog_sandbox &> memcheck_results.txt
51+ valgrind --tool=memcheck --leak-check=full --error-exitcode=1 ./lwlog_sandbox &> dynamic_analysis/ memcheck_results.txt
4952 continue-on-error : true
5053
5154 - name : Upload Memcheck Results
5255 uses : actions/upload-artifact@v4
5356 with :
5457 name : memcheck_results
55- path : memcheck_results.txt
58+ path : dynamic_analysis/ memcheck_results.txt
5659
5760 - name : Run Valgrind Helgrind
5861 working-directory : " ${{ runner.workspace }}/build"
5962 run : |
6063 echo "Running Valgrind Helgrind..."
61- valgrind --tool=helgrind --error-exitcode=1 ./lwlog_sandbox &> helgrind_results.txt
64+ valgrind --tool=helgrind --error-exitcode=1 ./lwlog_sandbox &> dynamic_analysis/ helgrind_results.txt
6265 continue-on-error : true
6366
6467 - name : Upload Helgrind Results
6568 uses : actions/upload-artifact@v4
6669 with :
6770 name : helgrind_results
68- path : helgrind_results.txt
71+ path : dynamic_analysis/ helgrind_results.txt
6972
7073 - name : Run Valgrind Cachegrind
7174 working-directory : " ${{ runner.workspace }}/build"
7275 run : |
7376 echo "Running Valgrind Helgrind..."
74- valgrind --tool=cachegrind ./lwlog_sandbox &> cachegrind_results.txt
77+ valgrind --tool=cachegrind ./lwlog_sandbox &> dynamic_analysis/ cachegrind_results.txt
7578 continue-on-error : true
7679
7780 - name : Upload Cachegrind Results
7881 uses : actions/upload-artifact@v4
7982 with :
8083 name : cachegrind_results
81- path : cachegrind_results.txt
84+ path : dynamic_analysis/ cachegrind_results.txt
0 commit comments