Commit e0c00c85 authored by Jan-Philipp Stauffert's avatar Jan-Philipp Stauffert
Browse files

Add win build to CI

parent ea8a845a
......@@ -53,6 +53,24 @@ build:mac:
paths:
- decker
build:win:
tags:
- win
stage: build
script:
- '&.\bin\build.ps1'
- '&.\bin\win-prepare-package.ps1'
artifacts:
paths:
- decker.exe
- resource.zip
- version.txt
cache:
key: build-win
paths:
- .stack-work
test:linux:
stage: test
tags:
......@@ -113,5 +131,24 @@ deploy:linux:
- mc cp ./decker store/decker/decker-linux
dependencies:
- build:linux
only:
- master
deploy:win:
stage: deploy
image:
name: minio/mc:latest
entrypoint: [""]
variables:
GIT_STRATEGY: none
tags:
- docker
script:
- mc config host add store http://store.hci.informatik.uni-wuerzburg.de:9002 $MINIO_ACCESS $MINIO_SECRET --api S3v4
- mc cp ./decker.exe store/decker/decker-win.exe
- mc cp ./resource.zip store/decker/resource-win.zip
- mc cp ./version.txt store/decker/version-win.txt
dependencies:
- build:win
only:
- master
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment