From a1a7481ffec6c3e08bed612ba57b8f30213093bc Mon Sep 17 00:00:00 2001 From: FritzFlorian Date: Tue, 19 Mar 2019 20:40:54 +0100 Subject: [PATCH] Add library build as ci output. --- .gitlab-ci.yml | 2 +- ci_scripts/build_cmake_release.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5211d8d..4754e0e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ build_cmake: ./ci_scripts/build_cmake_release.sh artifacts: paths: - - cmake-build-release/bin/ + - release/ run_tests: stage: test diff --git a/ci_scripts/build_cmake_release.sh b/ci_scripts/build_cmake_release.sh index d962672..31df3ae 100755 --- a/ci_scripts/build_cmake_release.sh +++ b/ci_scripts/build_cmake_release.sh @@ -5,5 +5,12 @@ cd cmake-build-release cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DTHREAD_SANITIZER=OFF make +rm -r -f ../release +mkdir ../release +cp -r bin/ ../release/bin +cp -r lib/ ../release/lib +cp -r ../lib/pls/include/ ../release/include/ +rm -f -r ../release/lib/pls + # echo the result of make to show it in gitlab exit $? -- libgit2 0.26.0