diff --git a/.github/workflows/cmake-build.yaml b/.github/workflows/cmake-build.yaml index 913705b..0640d46 100644 --- a/.github/workflows/cmake-build.yaml +++ b/.github/workflows/cmake-build.yaml @@ -143,6 +143,11 @@ jobs: ${{ env.UMB_VALGRIND_BIN }} --version if: matrix.os == 'ubuntu-latest' + - name: Run CTest with Valgrind + env: + VALGRIND_LIB: ${{ env.VALGRIND_PREFIX }}/libexec/valgrind/ + run: ctest -C ${{ matrix.build_type }} --verbose -T memcheck + - name: Run UMB generator with Valgrind env: UMB_GEN_BIN: build/uscript_msgbuf_generator diff --git a/CMakeLists.txt b/CMakeLists.txt index 0c7e263..8a7b63a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see . +# TODO: set Valgrind arguments here? + cmake_minimum_required(VERSION 3.25) project(uscript-msgbuf)