Compare commits

..

4 Commits

Author SHA1 Message Date
b274b0d80c move format check into regular build
All checks were successful
SCC Test/pipeline/head This commit looks good
2025-01-29 09:04:37 +01:00
1b99544779 changes conan variable name to use the conan2 one (CONAN_HOME instead of CONAN_USER_HOME) 2025-01-29 07:59:59 +01:00
b63030b154 adds CONAN_USER_HOME setting to Jenkinsfile 2025-01-29 07:55:42 +01:00
5855da9131 updates scc 2025-01-10 08:03:01 +01:00
2 changed files with 10 additions and 18 deletions

26
Jenkinsfile vendored
View File

@ -35,6 +35,7 @@ void build_n_test_project() {
. .venv/bin/activate
pip3 install -r requirements.txt
cmake -S . -B build --preset Release
cmake --build build --target format-check
cmake --build build -j12
cmake --build build --target test
'''
@ -52,34 +53,25 @@ pipeline {
stage('SCC test pipeline') {
parallel {
stage('ubuntu-22.04') {
agent {docker { image 'ubuntu-22.04' } }
agent {docker {
image 'ubuntu-22.04'
args ' -e CONAN_HOME=/var/jenkins_home/workspace/conan-jammy'
} }
stages {
stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }}
}
}
stage('rockylinux8') {
agent {docker { image 'rockylinux8' } }
agent {docker {
image 'rockylinux8'
args ' -e CONAN_HOME=/var/jenkins_home/workspace/conan-rocky8'
} }
stages {
stage('Checkout') { steps { checkout_project() }}
stage('Build & test') { steps { build_n_test_project() }}
}
}
stage('Format check') {
agent {docker { image 'ubuntu-22.04' } }
stages {
stage('Checkout') { steps { checkout_project() }}
stage('Build & check format') { steps {
sh'''
python3 -mvenv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
cmake -S . -B build --preset Release
cmake --build build --target format-check
'''
}}
}
}
}
}
}

2
scc

@ -1 +1 @@
Subproject commit bccc9269ff84181d1287dd6021ab5eb52f8909d0
Subproject commit 414a7724e2723acb6cd309ff2fb62a38eb1ab6e5