centos8 conan stdc++11

This commit is contained in:
Stanislaw Kaushanski 2021-06-02 12:13:59 +02:00
parent 0535f2e353
commit c0d0dce683

12
Jenkinsfile vendored
View File

@ -16,14 +16,14 @@ void checkout_project() {
]) ])
} }
void setup_conan_centos() { void setup_conan_stdc() {
sh""" sh"""
conan profile new default --detect --force conan profile new default --detect --force
conan profile update settings.compiler.libcxx=libstdc++ default conan profile update settings.compiler.libcxx=libstdc++ default
""" """
} }
void setup_conan_ubuntu() { void setup_conan_stdc11() {
sh""" sh"""
conan profile new default --detect --force conan profile new default --detect --force
conan profile update settings.compiler.libcxx=libstdc++11 default conan profile update settings.compiler.libcxx=libstdc++11 default
@ -57,7 +57,7 @@ pipeline {
agent {docker { image 'ubuntu-18.04' } } agent {docker { image 'ubuntu-18.04' } }
stages { stages {
stage('Ubuntu18.04: checkout') { steps { checkout_project() }} stage('Ubuntu18.04: checkout') { steps { checkout_project() }}
stage('Ubuntu18.04: Conan') { steps { setup_conan_ubuntu() }} stage('Ubuntu18.04: Conan') { steps { setup_conan_stdc11() }}
stage('Ubuntu18.04: Build') { steps { build_project() }} stage('Ubuntu18.04: Build') { steps { build_project() }}
stage('Ubuntu18.04: Test') { steps { test_project() }} stage('Ubuntu18.04: Test') { steps { test_project() }}
} }
@ -66,7 +66,7 @@ pipeline {
agent {docker { image 'ubuntu-20.04' } } agent {docker { image 'ubuntu-20.04' } }
stages { stages {
stage('Ubuntu20.04: checkout') { steps { checkout_project() }} stage('Ubuntu20.04: checkout') { steps { checkout_project() }}
stage('Ubuntu20.04: Conan') { steps { setup_conan_ubuntu() }} stage('Ubuntu20.04: Conan') { steps { setup_conan_stdc11() }}
stage('Ubuntu20.04: Build') { steps { build_project() }} stage('Ubuntu20.04: Build') { steps { build_project() }}
stage('Ubuntu20.04: Test') { steps { test_project() }} stage('Ubuntu20.04: Test') { steps { test_project() }}
} }
@ -75,7 +75,7 @@ pipeline {
agent {docker { image 'centos7' } } agent {docker { image 'centos7' } }
stages { stages {
stage('CentOS7: checkout') { steps { checkout_project() }} stage('CentOS7: checkout') { steps { checkout_project() }}
stage('CentOS7: conan') { steps { setup_conan_centos() }} stage('CentOS7: conan') { steps { setup_conan_stdc() }}
stage('CentOS7: build') { steps { build_project() }} stage('CentOS7: build') { steps { build_project() }}
stage('CentOS7: test') { steps { test_project() }} stage('CentOS7: test') { steps { test_project() }}
} }
@ -84,7 +84,7 @@ pipeline {
agent {docker { image 'centos8' } } agent {docker { image 'centos8' } }
stages { stages {
stage('CentOS8: checkout') { steps { checkout_project() }} stage('CentOS8: checkout') { steps { checkout_project() }}
stage('CentOS8: conan') { steps { setup_conan_centos() }} stage('CentOS8: conan') { steps { setup_conan_stdc11() }}
stage('CentOS8: build') { steps { build_project() }} stage('CentOS8: build') { steps { build_project() }}
stage('CentOS8: test') { steps { test_project() }} stage('CentOS8: test') { steps { test_project() }}
} }