Yup, away we goo
This commit is contained in:
parent
0d1ea1c1c2
commit
88aa3087fe
22
Jenkinsfile
vendored
Normal file
22
Jenkinsfile
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
label {
|
||||||
|
"ubuntu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage("build && test") {
|
||||||
|
steps {
|
||||||
|
sh 'sudo pip3 install --upgrade conan==1.42.1'
|
||||||
|
sh 'conan profile new default --detect'
|
||||||
|
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
||||||
|
sh 'mkdir -p build && cd build'
|
||||||
|
sh 'conan install .. --build=missing'
|
||||||
|
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON'
|
||||||
|
sh 'ninja'
|
||||||
|
sh 'ctest . --output-on-failure'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user