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 @@ ...@@ -7,11 +7,12 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages: stages:
- static
- build - build
- test - test
flawfinder-sast: flawfinder-sast:
stage: test stage: static
needs: [] needs: []
dependencies: [] dependencies: []
...@@ -21,7 +22,7 @@ include: ...@@ -21,7 +22,7 @@ include:
image: ubuntu:jammy image: ubuntu:jammy
code_quality: code_quality:
stage: test stage: static
allow_failure: true allow_failure: true
needs: [] needs: []
dependencies: [] dependencies: []
...@@ -84,6 +85,26 @@ linux:test: ...@@ -84,6 +85,26 @@ linux:test:
reports: reports:
junit: build/report.xml 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
#windows:build: #windows:build:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment