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"],
|
"depends_on": ["cppcheck"],
|
||||||
"commands": [
|
"commands": [
|
||||||
"uname -r",
|
"uname -r",
|
||||||
"mkdir -pv debug",
|
"make debug"
|
||||||
"cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -B debug",
|
|
||||||
"ninja -C debug"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -36,9 +34,7 @@ def main(ctx):
|
|||||||
"depends_on": ["cppcheck"],
|
"depends_on": ["cppcheck"],
|
||||||
"commands": [
|
"commands": [
|
||||||
"uname -r",
|
"uname -r",
|
||||||
"mkdir -pv release",
|
"make release"
|
||||||
"cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -B release",
|
|
||||||
"ninja -C release"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -64,7 +60,7 @@ def main(ctx):
|
|||||||
"uname -r",
|
"uname -r",
|
||||||
"pacman -Sy valgrind --noconfirm --needed",
|
"pacman -Sy valgrind --noconfirm --needed",
|
||||||
"valgrind --version",
|
"valgrind --version",
|
||||||
"valgrind ./debug/fortuna"
|
"make valgrind"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -76,7 +72,7 @@ def main(ctx):
|
|||||||
"uname -r",
|
"uname -r",
|
||||||
"pacman -Sy valgrind --noconfirm --needed",
|
"pacman -Sy valgrind --noconfirm --needed",
|
||||||
"valgrind --version",
|
"valgrind --version",
|
||||||
"valgrind ./release/fortuna"
|
"make valgrind-release"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user