Renamed app to spp_template and updated build scripts.
This commit is contained in:
10
build/Jenkinsfile
vendored
10
build/Jenkinsfile
vendored
@@ -20,6 +20,16 @@ pipeline {
|
||||
sh 'rm -rf cache/*'
|
||||
}
|
||||
}
|
||||
stage('Prepare') {
|
||||
steps
|
||||
{
|
||||
script
|
||||
{
|
||||
// generate the compile commands for clang-tidy to work with and update repositories (mijin)
|
||||
sh 'scons -Q --unity=disable --compiler=clang compile_commands.json --update_repositories'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Clang-Tidy') {
|
||||
when {
|
||||
expression { params.RUN_TESTS }
|
||||
|
||||
@@ -6,9 +6,6 @@ if [ ! -f ".clang-tidy" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# first generate the compile commands for clang-tidy to work with
|
||||
scons -Q --unity=disable --compiler=clang compile_commands.json
|
||||
|
||||
mkdir -p cache/jenkins
|
||||
find private -name "*.cpp" > "cache/jenkins/clang-tidy-files"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user