summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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