From 13441527333add2b052ee3428c610665f5fc825a Mon Sep 17 00:00:00 2001 From: FritzFlorian Date: Fri, 15 Mar 2019 13:59:09 +0100 Subject: [PATCH] Add basic CI integration. For now this is only running our catch tests, but we plan on adding more (ThreadSanitizer, basic performance metrics) later on. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d82014b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +image: "ubuntu:latest" + +stages: + - build + - test + +before_script: + - apt update; apt-get install --yes --force-yes build-essential cmake + +build_cmake: + stage: build + script: + ./build_cmake_release.sh + artifacts: + paths: + - cmake-build-release/bin/ + +run_tests: + stage: test + script: + ./build_cmake_release.sh; ./cmake-build-release/bin/tests \ No newline at end of file -- libgit2 0.26.0