chore: update valgrind workflow
This commit is contained in:
@@ -10,20 +10,10 @@ jobs:
|
|||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
run: sudo apt-get update && sudo apt-get install -y build-essential valgrind
|
||||||
|
|
||||||
- name: Build program
|
- name: Build program
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
- name: Run valgrind
|
- name: Run valgrind
|
||||||
uses: Ximaz/valgrind-action@v1.2.0
|
run: valgrind -s --leak-check=full --error-exitcode=1 ./bin/program
|
||||||
with:
|
|
||||||
binary_path: "./bin/program"
|
|
||||||
binary_args: ""
|
|
||||||
ld_library_path: ""
|
|
||||||
redzone_size: 16
|
|
||||||
track_file_descriptors: true
|
|
||||||
treat_error_as_warning: false
|
|
||||||
valgrind_suppressions: ""
|
|
||||||
verbose: true
|
|
||||||
timeout: 0s
|
|
Reference in New Issue
Block a user