Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
b274b0d80c | |||
1b99544779 | |||
b63030b154 | |||
5855da9131 |
26
Jenkinsfile
vendored
26
Jenkinsfile
vendored
@ -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
2
scc
@ -1 +1 @@
|
||||
Subproject commit bccc9269ff84181d1287dd6021ab5eb52f8909d0
|
||||
Subproject commit 414a7724e2723acb6cd309ff2fb62a38eb1ab6e5
|
Loading…
x
Reference in New Issue
Block a user