diff options
author | Aki <please@ignore.pl> | 2023-02-27 22:22:51 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-02-27 22:22:51 +0100 |
commit | b15688f34734754cbc53498f9dcd61bd1a0be89b (patch) | |
tree | ec38a6d1051140e967ab37cf3ebc4329f50f4f7d | |
parent | eb7b5585447d67099a1fc8382a0f05b07b609b49 (diff) | |
download | kurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.zip kurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.tar.gz kurator-b15688f34734754cbc53498f9dcd61bd1a0be89b.tar.bz2 |
Added packaging stage
-rw-r--r-- | .gitlab-ci.yml | 21 |
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 |