2
0
Эх сурвалжийг харах

* Combine build and test into one stage, because all data is list between stages

Joost van der Sluis 4 жил өмнө
parent
commit
9a60a27524
1 өөрчлөгдсөн 4 нэмэгдсэн , 8 устгасан
  1. 4 8
      .gitlab-ci.yml

+ 4 - 8
.gitlab-ci.yml

@@ -1,21 +1,17 @@
 image: quay.io/loesje/gitlab-ci-fpc-buildimage
 image: quay.io/loesje/gitlab-ci-fpc-buildimage
 
 
 stages:
 stages:
-  - build
-  - test
+  - testbuild
 
 
 build:
 build:
-  stage: build
+  stage: testbuild
   script:
   script:
     - make all
     - make all
-
-test:
-  stage: test
-  script:
     - cd tests
     - cd tests
     - make full TEST_FPC=../compiler/ppcx64
     - make full TEST_FPC=../compiler/ppcx64
     - make digest TEST_FPC=../compiler/ppcx64 > digest.txt
     - make digest TEST_FPC=../compiler/ppcx64 > digest.txt
   artifacts:
   artifacts:
+    name: "TestResults-$CI_COMMMIT_REF_NAME"
     paths:
     paths:
       - tests/digest.txt
       - tests/digest.txt
-      - tests/output/x86_64-linux/faillist
+      - tests/output/x86_64-linux/faillist