From 8f8169434f874f99578fafb13bcfe36b774062ae Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Sun, 15 Jul 2018 20:01:22 +0200
Subject: [PATCH] [ci] win64: add prod build

---
 .gitlab-ci.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3b2f3d6f..8088d4f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,10 @@
 stages:
-    - package
     - tests
     - fmt
     - clippy
     - publish_crate
     - publish_doc
+    - package
     - prerelease
     - release
 
@@ -178,6 +178,20 @@ package:prod:linux64:
   when: manual
   allow_failure: false
 
+package:prod:win64:
+  <<: *rust_win64_env
+  stage: package
+  script:
+    - bash "release/arch/win64/build-win64.sh" "${CI_COMMIT_TAG#v}"
+  artifacts:
+    paths:
+      - work/bin/
+    expire_in: 2 weeks
+  only:
+    - tags
+  when: manual
+  allow_failure: false
+
 .release_jobs: &release_jobs
   image: tensorflow/tensorflow:latest-py3
   tags:
-- 
GitLab