From d1daa02b350b708f3f947def6213c201a69cb8ce Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Thu, 28 Jan 2021 11:27:13 +0100 Subject: [PATCH] ci: add ie qa builds --- .gitlab-ci.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a757722a..7d6846ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -121,6 +121,17 @@ build-ie-linux: paths: - ie_*.tgz +build-ie-linux-qa: + extends: .build-base + only: + - web + script: + - BUILD_TAGS="build_qa" make build-ie + artifacts: + name: "ie-linux-qa-$CI_COMMIT_SHORT_SHA" + paths: + - ie_*.tgz + .build-darwin-base: extends: .build-base before_script: @@ -165,6 +176,17 @@ build-ie-darwin: paths: - ie_*.tgz +build-ie-darwin-qa: + extends: .build-darwin-base + only: + - web + script: + - BUILD_TAGS="build_qa" make build-ie + artifacts: + name: "ie-darwin-qa-$CI_COMMIT_SHORT_SHA" + paths: + - ie_*.tgz + .build-windows-base: extends: .build-base services: @@ -219,6 +241,23 @@ build-ie-windows: paths: - ie_*.tgz +build-ie-windows-qa: + extends: .build-windows-base + only: + - web + script: + # 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 tar gzip + - ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres + - go mod download + - TARGET_OS=windows BUILD_TAGS="build_qa" make build-ie + artifacts: + name: "ie-windows-qa-$CI_COMMIT_SHORT_SHA" + paths: + - ie_*.tgz + # Stage: MIRROR mirror-repo: