Просмотр исходного кода

* Attempt to add test-run to CI/CD-script

Joost van der Sluis 4 лет назад
Родитель
Сommit
67b3af046b
1 измененных файлов с 13 добавлено и 1 удалено
  1. 13 1
      .gitlab-ci.yml

+ 13 - 1
.gitlab-ci.yml

@@ -2,8 +2,20 @@ image: quay.io/loesje/gitlab-ci-fpc-buildimage
 
 stages:
   - build
+  - test
 
 build:
   stage: build
   script:
-    - make all
+    - make all
+
+test:
+  stage: test
+  script:
+    - cd tests
+    - make full TEST_FPC=../compiler/ppcx64
+    - make digest TEST_FPC=../compiler/ppcx64 > digest.txt
+  artifacts:
+    paths:
+      - tests/digest.txt
+      - tests/output/x86_64-linux/faillist