yup
All checks were successful
continuous-integration/drone/push Build is passing
gitea/skullc-peripherals/pipeline/head This commit looks good

This commit is contained in:
Erki 2022-01-23 18:48:39 +02:00
parent d909651bf1
commit b8c3e32fd6

16
Jenkinsfile vendored
View File

@ -6,16 +6,20 @@ 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'
sh 'conan install .. --build=missing'
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON' dir("build") {
sh 'ninja' sh 'ls'
sh 'ctest . --output-on-failure' sh 'conan install .. --build=missing'
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON'
sh 'ninja'
sh 'ctest . --output-on-failure'
}
} }
} }
} }