Skip to content
Snippets Groups Projects
Commit c24ee900 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add valgrind to pipeline

parent 4f4a2b26
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,12 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- static
- build
- test
flawfinder-sast:
stage: test
stage: static
needs: []
dependencies: []
......@@ -21,7 +22,7 @@ include:
image: ubuntu:jammy
code_quality:
stage: test
stage: static
allow_failure: true
needs: []
dependencies: []
......@@ -84,6 +85,26 @@ linux:test:
reports:
junit: build/report.xml
linux:valgrind:
only:
- main
- merge_requests
stage: test
tags:
- docker
needs: ["linux:build"]
script:
- DEBIAN_FRONTEND=noninteractive apt update && apt install -y libmsgpackc2 liburiparser1 valgrind
- cd build
- valgrind --error-exitcode=1 ./test/net_integration
artifacts:
when: always
reports:
junit: build/report.xml
### Windows
#windows:build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment