Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Valgrind analysis to test CI job #14

Open
KyrietS opened this issue Mar 13, 2024 · 0 comments
Open

Add Valgrind analysis to test CI job #14

KyrietS opened this issue Mar 13, 2024 · 0 comments
Labels
improvement Code refactor or minor changes that are not new features

Comments

@KyrietS
Copy link
Owner

KyrietS commented Mar 13, 2024

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
@KyrietS KyrietS added the improvement Code refactor or minor changes that are not new features label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Code refactor or minor changes that are not new features
Projects
None yet
Development

No branches or pull requests

1 participant