emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5fbbcde: Adapt native-comp entries in gitlab-ci.yml


From: Michael Albinus
Subject: master 5fbbcde: Adapt native-comp entries in gitlab-ci.yml
Date: Fri, 21 May 2021 13:33:51 -0400 (EDT)

branch: master
commit 5fbbcdea2b94527b5bd476501dd54333eba649e1
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Adapt native-comp entries in gitlab-ci.yml
    
    * test/infra/gitlab-ci.yml (stages): New stages native-comp-images
    and native-comp.
    (build-native-bootstrap-speed0): Simplify.
    (build-native-bootstrap-speed1, build-native-bootstrap-speed2):
    Deactivate temporarily.
    
    * test/infra/gitlab-ci.yml (.build-template): Add 'needs:' clause.
    (.native-comp-template): New template.
    (build-native-bootstrap-speed0): Use it.
---
 test/infra/gitlab-ci.yml | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml
index 7914a2c..edaa24c 100644
--- a/test/infra/gitlab-ci.yml
+++ b/test/infra/gitlab-ci.yml
@@ -111,6 +111,7 @@ default:
     - test -n "$(docker ps -aq -f name=${test_name})" && docker rm ${test_name}
 
 .build-template:
+  needs: [prep-image-base]
   rules:
     - if: '$CI_PIPELINE_SOURCE == "web"'
       when: always
@@ -181,6 +182,21 @@ default:
         - test/lisp/autorevert-tests.el
         - test/lisp/filenotify-tests.el
 
+.native-comp-template:
+  rules:
+    - if: '$CI_PIPELINE_SOURCE == "web"'
+    - if: '$CI_PIPELINE_SOURCE == "schedule"'
+      changes:
+        - "**/Makefile.in"
+        - .gitlab-ci.yml
+        - lisp/emacs-lisp/comp.el
+        - lisp/emacs-lisp/comp-cstr.el
+        - src/comp.{h,m}
+        - test/infra/*
+        - test/src/comp-resources/*.el
+        - test/src/comp-tests.el
+  timeout: 8 hours
+
 stages:
   - prep-images
   - build-images
@@ -257,10 +273,9 @@ test-gnustep:
 
 build-native-bootstrap-speed0:
   stage: native-comp-images
-  extends: [.job-template, .build-template]
+  extends: [.job-template, .build-template, .native-comp-template]
   variables:
     target: emacs-native-comp-speed0
-  timeout: 8 hours
 
 # build-native-bootstrap-speed0:
 #   # Test a full native bootstrap



reply via email to

[Prev in Thread] Current Thread [Next in Thread]