skullc-peripherals/Jenkinsfile
Erki dc9e159377
Some checks failed
gitea/skullc-peripherals/pipeline/head There was a failure building this commit
continuous-integration/drone/push Build is passing
le woops
2022-01-23 18:34:37 +02:00

21 lines
619 B
Groovy

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