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' } } } }