Browse Source

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

Joost van der Sluis 4 years ago
parent
commit
9a60a27524
1 changed files with 4 additions and 8 deletions
  1. 4 8
      .gitlab-ci.yml

+ 4 - 8
.gitlab-ci.yml

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