8000 Add Valgrind analysis to test CI job · Issue #14 · KyrietS/trex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add Valgrind analysis to test CI job #14
Open
@KyrietS

Description

@KyrietS

NOTE: Valgrind is available only on Linux (sadpepe.png)

- name: apt install dependency
  run: |
    sudo apt-get -y install valgrind
    sudo apt-get -y install libcunit1 libcunit1-doc libcunit1-dev 

- name: Build tests
  run: |
    cmake -S tests -B build_tests -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
    cmake --build build_tests --config ${{ matrix.build_type }}

- name: Run Valgrind
  run: valgrind ./build_tests/trex_tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementCode refactor or minor changes that are not new features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0