ci: use makefile targets
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* re-use what has already been defined and tested locally * verify that the makefile is functional in one fell swoop
This commit is contained in:
parent
639d941461
commit
5f8f8ca67e
@ -24,9 +24,7 @@ def main(ctx):
|
||||
"depends_on": ["cppcheck"],
|
||||
"commands": [
|
||||
"uname -r",
|
||||
"mkdir -pv debug",
|
||||
"cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -B debug",
|
||||
"ninja -C debug"
|
||||
"make debug"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -36,9 +34,7 @@ def main(ctx):
|
||||
"depends_on": ["cppcheck"],
|
||||
"commands": [
|
||||
"uname -r",
|
||||
"mkdir -pv release",
|
||||
"cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B release",
|
||||
"ninja -C release"
|
||||
"make release"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -64,7 +60,7 @@ def main(ctx):
|
||||
"uname -r",
|
||||
"pacman -Sy valgrind --noconfirm --needed",
|
||||
"valgrind --version",
|
||||
"valgrind ./debug/fortuna"
|
||||
"make valgrind"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -76,7 +72,7 @@ def main(ctx):
|
||||
"uname -r",
|
||||
"pacman -Sy valgrind --noconfirm --needed",
|
||||
"valgrind --version",
|
||||
"valgrind ./release/fortuna"
|
||||
"make valgrind-release"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user