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 $?