do not complie windows twice, always pack to tgz

This commit is contained in:
Jakub
2020-05-21 10:24:23 +02:00
committed by Jakub Cuth
parent cb8a15a9fd
commit 390182d247
2 changed files with 4 additions and 14 deletions

View File

@ -148,14 +148,14 @@ build-windows:
# We need to install docker because qtdeploy builds for windows inside a docker container.
# Docker will connect to the dockerd daemon provided by the runner service docker:dind at tcp://docker:2375.
- curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
- apt-get update && apt-get -y install binutils-mingw-w64 zip
- apt-get update && apt-get -y install binutils-mingw-w64 tar gzip
- ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres
- go mod download
- TARGET_OS=windows make build
artifacts:
name: "bridge-windows-$CI_COMMIT_SHORT_SHA"
paths:
- bridge_*.zip
- bridge_*.tgz
expire_in: 2 week
mirror-repo: