adds format-check to Jenkins

This commit is contained in:
Eyck Jentzsch 2023-12-22 22:54:40 +01:00
parent 1a7d7829ed
commit c0a95d0a57
1 changed files with 15 additions and 0 deletions

15
Jenkinsfile vendored
View File

@ -89,6 +89,21 @@ pipeline {
stage('Build & test') { steps { build_n_test_project() }} 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
'''
}}
}
}
} }
} }
} }