CI: For Windows deploy run koch winrelease.

This commit is contained in:
Dominik Picheta
2016-09-18 14:01:16 +02:00
parent 985d3313da
commit c86d1a479c
3 changed files with 3 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ build-windows:
deploy-windows:
stage: deploy
script:
- call ci\nsis_build.bat
- koch.exe winrelease
artifacts:
paths:
- build/*.exe

View File

@@ -12,7 +12,7 @@ REM - Tag the release
REM - Merge devel into master
REM - Update csources
set NIMVER=0.14.3
set NIMVER=%1
Rem Build -docs file:
koch web0

View File

@@ -383,19 +383,7 @@ proc run7z(platform: string, patterns: varargs[string]) =
]#
proc winRelease() =
boot(" -d:release")
#buildTool("tools/niminst/niminst", " -d:release")
buildTool("tools/nimgrep", " -d:release")
buildTool("compiler/nimfix/nimfix", " -d:release")
buildTool("compiler/nimsuggest/nimsuggest", " -d:release")
#run7z("win32", "bin/nim.exe", "bin/c2nim.exe", "bin/nimgrep.exe",
# "bin/nimfix.exe",
# "bin/nimble.exe", "bin/*.dll",
# "config", "dist/*.dll", "examples", "lib",
# "readme.txt", "contributors.txt", "copying.txt")
# second step: XXX build 64 bit version
exec("call ci\nsis_build.bat " & VersionAsString)
# -------------- tests --------------------------------------------------------