ci: use 'make san', rm valgrind steps
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* sanitize instead of memcheck with valgrind * rename debug and release steps to follow similar pattern as 'make san'
This commit is contained in:
parent
69cc71c749
commit
f250543231
|
@ -28,7 +28,7 @@ def main(ctx):
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "build debug",
|
||||
"name": "make debug",
|
||||
"image": "docker.io/immawanderer/fedora-cpp:linux-amd64",
|
||||
"pull": "always",
|
||||
"depends_on": ["cppcheck"],
|
||||
|
@ -38,7 +38,7 @@ def main(ctx):
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "build release",
|
||||
"name": "make release",
|
||||
"image": "docker.io/immawanderer/fedora-cpp:linux-amd64",
|
||||
"pull": "always",
|
||||
"depends_on": ["cppcheck"],
|
||||
|
@ -62,27 +62,13 @@ def main(ctx):
|
|||
]
|
||||
},
|
||||
{
|
||||
"name": "valgrind debug",
|
||||
"image": "docker.io/archlinux:base-devel",
|
||||
"name": "make san",
|
||||
"image": "docker.io/immawanderer/fedora-cpp:linux-amd64",
|
||||
"pull": "always",
|
||||
"depends_on": ["build debug"],
|
||||
"depends_on": ["cppcheck"],
|
||||
"commands": [
|
||||
"uname -r",
|
||||
"pacman -Sy gcc cmake crypto++ ninja valgrind --noconfirm --needed",
|
||||
"valgrind --version",
|
||||
"make valgrind"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "valgrind release",
|
||||
"image": "docker.io/archlinux:base-devel",
|
||||
"pull": "always",
|
||||
"depends_on": ["build release"],
|
||||
"commands": [
|
||||
"uname -r",
|
||||
"pacman -Sy gcc cmake crypto++ ninja valgrind --noconfirm --needed",
|
||||
"valgrind --version",
|
||||
"make valgrind-release"
|
||||
"make san"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Reference in New Issue