Pārlūkot izejas kodu

* factored out the fullcycle job as proposed by Marcus

FPK 3 gadi atpakaļ
vecāks
revīzija
d5d90499ee
1 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. 7 3
      .gitlab-ci.yml

+ 7 - 3
.gitlab-ci.yml

@@ -6,14 +6,18 @@
 image: registry.gitlab.com/freepascal.org/fpc/source:buster_fpcbuild
 image: registry.gitlab.com/freepascal.org/fpc/source:buster_fpcbuild
 
 
 stages:
 stages:
+  - compilercycle
   - buildandtest
   - buildandtest
 
 
-build-and-test-job:
-  stage: buildandtest
+compiler-fullcycle-job:
+  stage: compilercycle
   script:
   script:
     - cd compiler
     - cd compiler
     - make fullcycle
     - make fullcycle
-    - cd ..
+
+build-and-test-job:
+  stage: buildandtest
+  script:
     - make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 FPMAKEOPT="-T 4"
     - make -j 4 all OS_TARGET=linux CPU_TARGET=x86_64 FPMAKEOPT="-T 4"
     - FPC_SRC=$(pwd)
     - FPC_SRC=$(pwd)
     - FPC_COMPILER=$FPC_SRC/compiler/ppcx64
     - FPC_COMPILER=$FPC_SRC/compiler/ppcx64