adds format-check to Jenkins
This commit is contained in:
parent
1a7d7829ed
commit
c0a95d0a57
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@ -89,6 +89,21 @@ pipeline {
|
||||
stage('Build & test') { steps { build_n_test_project() }}
|
||||
}
|
||||
}
|
||||
//
|
||||
stage('CLang') {
|
||||
agent {docker { image 'ubuntu-riscv' } }
|
||||
stages {
|
||||
stage('Checkout') { steps { checkout_project() }}
|
||||
stage('Setup') { steps { setup_conan() }}
|
||||
stage('Build & check format') { steps {
|
||||
sh'''
|
||||
cmake -S . -B build
|
||||
cmake --build build -j12
|
||||
cmake --build build --target format-check
|
||||
'''
|
||||
}}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user