Bharathgopal / M1_March_2022

Naming convention: "M1_ProjectGoal"
24 stars 83 forks source link

Valgrind #277

Open Akansha-nageshwar opened 2 years ago

Akansha-nageshwar commented 2 years ago

How to do Code Analysis using Valgrind ?

Amangarg99 commented 2 years ago

Hey! It has to be written in the same way as cpp-check analysis . The major difference is in installation part , if you are facing some issue with installation you can try these command

   steps:
- uses: actions/checkout@v2
- name: apt install dependency
  run: |
    sudo apt-get update
    sudo apt-get -y install valgrind --fix-missing
    sudo apt-get -y install libcunit1 libcunit1-doc libcunit1-dev --fix-missing