From 335b6acc4dd73fd99605a8667ab7597987acdeed Mon Sep 17 00:00:00 2001 From: FPK Date: Thu, 26 Aug 2021 12:57:49 +0000 Subject: [PATCH] * build and test must be one job (cherry picked from commit 21914bf43bac54b0d18d6e97702b44d7061f174f) --- .gitlab-ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 393a66121b..2bdcfcefc6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,17 +6,12 @@ image: registry.gitlab.com/freepascal.org/fpc/source:buster_fpcbuild stages: # List of stages for jobs, and their order of execution - - build - - test + - buildandtest -build-job: # This job runs in the build stage, which runs first. - stage: build +build-and-test-job: # This job runs in the build stage, which runs first. + stage: buildandtest script: - make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 OPT="-gl" FPMAKEOPT="-T 4" - -regression-test-job: # This job runs in the test stage. - stage: test # It only starts when the job in the build stage completes successfully. - script: - FPC_SRC=$(pwd) - FPC_COMPILER=$FPC_SRC/compiler/ppcx64 - cd tests