We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a963bf commit a027ba7Copy full SHA for a027ba7
1 file changed
.github/workflows/c-cpp.yml
@@ -72,3 +72,24 @@ jobs:
72
token: ${{ secrets.CODECOV_TOKEN }}
73
file: coverage.info
74
fail_ci_if_error: false
75
+
76
+ valgrind:
77
+ needs: build
78
+ runs-on: ubuntu-latest
79
+ steps:
80
+ - uses: actions/checkout@v4
81
82
+ - name: Install Valgrind
83
+ run: sudo apt-get install -y valgrind
84
85
+ - name: Build Debug version
86
+ run: |
87
+ cmake -B build-debug -DCMAKE_BUILD_TYPE=Debug
88
+ cmake --build build-debug --target ini_parser_tests
89
90
+ - name: Valgrind memory check
91
92
+ valgrind --leak-check=full \
93
+ --track-origins=yes \
94
+ --error-exitcode=1 \
95
+ ./build-debug/ini_parser_tests
0 commit comments