From 68f88350bf7c703b34f24bf3f78735753af877d4 Mon Sep 17 00:00:00 2001 From: oldmud0 <3421260-oldmud0@users.noreply.gitlab.com> Date: Thu, 7 Feb 2019 00:52:18 +0000 Subject: [PATCH] Granularize shared library deployment --- .gitlab-ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 43809de..3711c18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,10 +66,6 @@ build windows i686: cp -a ../README.md README.md.txt cp -a ../LICENSE.MIT LICENSE.txt -# Shared libraries -.deploy_libs: &deploy_libs | - cp -a ../lib/* . - deploy linux: stage: deploy dependencies: @@ -82,9 +78,9 @@ deploy linux: - cd artifact - *deploy_base - *deploy_misc - - *deploy_libs # Platform-specific + - cp -a ../lib/*.so . - cp -a ../bin/Attorney_Online . - echo "#!/bin/sh" >> ./run.sh - echo "LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./Attorney_Online" >> ./run.sh @@ -115,9 +111,9 @@ deploy windows: - cd artifact - *deploy_base - *deploy_misc - - *deploy_libs # Platform-specific + - cp -a ../lib/*.dll . - cp -a ../bin/Attorney_Online.exe . # Zipping