summary refs log tree commit diff stats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2016-09-08 21:11:11 +0200
committerDominik Picheta <dominikpicheta@gmail.com>2016-09-08 21:11:11 +0200
commit3e87ef35faa92333d6c78af1109d5da0cf0fc9c7 (patch)
tree37b1b971fa35e764ac06e925ed49bd20844bc9ef /.gitlab-ci.yml
parentdc8ec4296995d81bb6384beab579b6211c452532 (diff)
downloadNim-3e87ef35faa92333d6c78af1109d5da0cf0fc9c7.tar.gz
Add Windows deploy stage to GitLab CI.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e814b2af5..ca0bb00ef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ image: gcc
 stages:
   - pre-build
   - build
+  - deploy
   - test
 
 .linux_set_path: &linux_set_path_def
@@ -48,6 +49,18 @@ build-windows:
   tags:
     - windows
 
+deploy-windows:
+  stage: deploy
+  script:
+    - call ci\nsis_build.bat
+  artifacts:
+    paths:
+      - web\upload\download\*
+    expire_in: 1 week
+  tags:
+    - windows
+    - fast
+
 test-linux:
   stage: test
   <<: *linux_set_path_def
@@ -67,6 +80,7 @@ test-windows:
     - tests\testament\tester.exe --pedantic all
   tags:
     - windows
+    - fast
 
 .csources: &csources_definition
   stage: test