From e70e41f9fab712a098e665b01999d694d39733d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Tue, 15 Oct 2019 20:49:08 +0200 Subject: [PATCH] Tweak dependencies for the Windows build job Since the Windows build job does not use the files created as a result of running "autoreconf -fi" in the "autoreconf:sid:amd64" job, set its dependencies to an empty list. Since it is currently not possible to use "needs: []" for jobs which do not belong to the first stage of a pipeline, set the "needs" key for the Windows build job to the "autoreconf:sid:amd64" job so that all build jobs are started at the same time (without this change, the Windows build job does not start until all jobs in the "precheck" stage are finished). As a side note, these changes also attempt to eliminate intermittent, bogus GitLab error messages ("There has been a missing dependency failure"). (cherry picked from commit dd97dfdc1447833d70da82493400c5b8a87f73f6) --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dbcb51fdc9..93c16a99c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -812,6 +812,9 @@ msvc:windows:amd64: x64' - 'Set-Item -path "Env:CL" -value "/MP$([Math]::Truncate($BUILD_PARALLEL_JOBS/2))"' - '& msbuild.exe /maxCpuCount:2 /t:Build /p:Configuration=$VSCONF bind9.sln' + dependencies: [] + needs: + - autoreconf:sid:amd64 artifacts: untracked: true expire_in: "1 week"