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

8
Jenkinsfile vendored
View File

@ -6,12 +6,15 @@ pipeline {
stages {
stage("build && test") {
steps {
echo 'Workspace: ${env.WORKSPACE}'
echo "Workspace: ${env.WORKSPACE}"
sh 'ls'
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 'mkdir -p build'
dir("build") {
sh 'ls'
sh 'conan install .. --build=missing'
sh 'cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON'
sh 'ninja'
@ -19,4 +22,5 @@ pipeline {
}
}
}
}
}