aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-02-07 00:52:18 +0000
committeroldmud0 <3421260-oldmud0@users.noreply.gitlab.com>2019-02-07 00:52:18 +0000
commit68f88350bf7c703b34f24bf3f78735753af877d4 (patch)
tree8cbf87021810a87a5d907ee2d7c956a0bb9e487f
parentbc0e22464056f3e6e9ef11b7d841f673fe7dff31 (diff)
Granularize shared library deployment
-rw-r--r--.gitlab-ci.yml8
1 files 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