We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1678b7d commit 1702d42Copy full SHA for 1702d42
1 file changed
.github/workflows/CI-unixish.yml
@@ -110,3 +110,20 @@ jobs:
110
run: |
111
make clean
112
make -j$(nproc) test selfcheck CXXOPTS="-O2 -g3 -stdlib=libc++ -fsanitize=memory" LDOPTS="-lc++ -fsanitize=memory"
113
+
114
+ - name: Run callgrind
115
+ if: matrix.os == 'ubuntu-24.04'
116
+ run: |
117
+ wget https://github.com/danmar/simplecpp/archive/refs/tags/1.5.1.tar.gz
118
+ tar xvf 1.5.1.tar.gz
119
+ make clean
120
+ make -j$(nproc) CXXOPTS="-O2 -g3"
121
+ valgrind --tool=callgrind ./simplecpp -e simplecpp-1.5.1/simplecpp.cpp || (cat callgrind.log && false)
122
+ cat callgrind.log
123
+ callgrind_annotate --auto=no > callgrind.annotated.log
124
+ head -50 callgrind.annotated.log
125
126
+ - uses: actions/upload-artifact@v4
127
+ with:
128
+ name: Callgrind Output
129
+ path: ./callgrind.*
0 commit comments