summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml9
-rw-r--r--gitlab.vdf1
2 files changed, 9 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b0c099c..d261aa7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ stages:
- build
- test
- package
+ - deploy
build-linux:
stage: build
@@ -58,8 +59,14 @@ package-windows:
needs: ["build-windows", "test-windows"]
script:
- cmake --install build-windows/ --prefix kurator-x86_64-windows/
- - cp /usr/x86_64-w64-mingw32/bin/{libssp-0,libgcc_s_seh-1,libraylib,libstdc++-6,libwinpthread-1}.dll kurator-x86_64-windows/
+ - cp /usr/x86_64-w64-mingw32/bin/lib{ssp-0,gcc_s_seh-1,ray,stdc++-6,winpthread-1}.dll kurator-x86_64-windows/
artifacts:
name: kurator-x86_64-windows
paths:
- kurator-x86_64-windows/
+
+steam:
+ stage: deploy
+ needs: ["build-linux", "package-linux", "package-windows"]
+ script:
+ - steamcmd +run_app_build build-linux/gitlab.vdf +quit
diff --git a/gitlab.vdf b/gitlab.vdf
index e2f99df..0667f76 100644
--- a/gitlab.vdf
+++ b/gitlab.vdf
@@ -2,6 +2,7 @@
{
"AppID" "@STEAM_APPID@"
"Desc" "Default app build matching GitLab configuration"
+ "Preview" "1"
"BuildOutput" ".steam_cache/"
"Depots"
{