yup
This commit is contained in:
parent
d909651bf1
commit
b8c3e32fd6
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -6,12 +6,15 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage("build && test") {
|
stage("build && test") {
|
||||||
steps {
|
steps {
|
||||||
echo 'Workspace: ${env.WORKSPACE}'
|
echo "Workspace: ${env.WORKSPACE}"
|
||||||
sh 'ls'
|
sh 'ls'
|
||||||
sh 'sudo pip3 install --upgrade conan==1.42.1'
|
sh 'sudo pip3 install --upgrade conan==1.42.1'
|
||||||
sh 'conan profile new default --detect'
|
sh 'conan profile new default --detect'
|
||||||
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
||||||
sh 'mkdir -p build && cd build'
|
sh 'mkdir -p build'
|
||||||
|
|
||||||
|
dir("build") {
|
||||||
|
sh 'ls'
|
||||||
sh 'conan install .. --build=missing'
|
sh 'conan install .. --build=missing'
|
||||||
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON'
|
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON'
|
||||||
sh 'ninja'
|
sh 'ninja'
|
||||||
@ -19,4 +22,5 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user