From c0a95d0a5774e6e9f8911f737b073df504d8e329 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Fri, 22 Dec 2023 22:54:40 +0100 Subject: [PATCH] adds format-check to Jenkins --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9e3d9c4..07eacc9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + ''' + }} + } + } } } }