ci: use 'make san', rm valgrind steps
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:
surtur 2022-01-03 04:22:30 +01:00
parent 69cc71c749
commit f250543231
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -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"
]
}
]