Compare commits
2 Commits
b5156ab930
...
928f1f51db
Author | SHA1 | Date | |
---|---|---|---|
928f1f51db | |||
3b5c4cfeb9 |
29
.gitea/workflows/check-valgrind.yaml
Normal file
29
.gitea/workflows/check-valgrind.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Check valgrind
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
check-valgrind:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install build dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
||||
|
||||
- name: Build program
|
||||
run: make
|
||||
|
||||
- name: Run valgrind
|
||||
uses: Ximaz/valgrind-action@v1.2.0
|
||||
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
|
@@ -3,12 +3,14 @@ on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
test-project:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install build dependencies
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
||||
|
||||
- name: Run tests
|
||||
run: make test
|
Reference in New Issue
Block a user