From 88aa3087fe6a3b3b703d635174ae31f3286a8790 Mon Sep 17 00:00:00 2001 From: Erki Date: Sun, 23 Jan 2022 18:33:24 +0200 Subject: [PATCH] Yup, away we goo --- Jenkinsfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..2d8eda2 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,22 @@ +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' + } + } + } +}