summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-02-27 22:22:51 +0100
committerAki <please@ignore.pl>2023-02-27 22:22:51 +0100
commitb15688f34734754cbc53498f9dcd61bd1a0be89b (patch)
treeec38a6d1051140e967ab37cf3ebc4329f50f4f7d
parenteb7b5585447d67099a1fc8382a0f05b07b609b49 (diff)
downloadkurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.zip
kurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.tar.gz
kurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.tar.bz2
Added packaging stage
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c9cdb6..64830fd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,3 +37,24 @@ test-windows:
artifacts:
reports:
junit: build-windows/windows.xml
+
+package-linux:
+ stage: package
+ needs: ["test-linux"]
+ script:
+ - cmake --install build-linux/ --prefix pkg
+ - cd pkg/ && tar cJf ../kurator-x86_64-linux.tar.xz *
+ artifacts:
+ paths:
+ - kurator-x86_64-linux.tar.xz
+
+package-windows:
+ stage: package
+ needs: ["test-windows"]
+ script:
+ - cmake --install build-windows/ --prefix pkg
+ - cp /usr/x86_64-w64-mingw32/bin/{libssp-0,libgcc_s_seh-1,libraylib,libstdc++-6,libwinpthread-1}.dll pkg/
+ - cd pkg/ && tar cJf ../kurator-x86_64-windows.tar.xz *
+ artifacts:
+ paths:
+ - kurator-x86_64-windows.tar.xz