]> git.eshelyaron.com Git - emacs.git/commitdiff
* .gitlab-ci.yml (test-all): Run only when needed.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 30 Aug 2020 12:05:55 +0000 (14:05 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 30 Aug 2020 12:05:55 +0000 (14:05 +0200)
.gitlab-ci.yml

index 913ba0fd4faa73fe992e7ee752f604c59d16a1d4..ad01e473b4ede4c47670c64a7bf144ac91dca08d 100644 (file)
@@ -40,6 +40,32 @@ stages:
 test-all:
   # This tests also file monitor libraries inotify and inotifywatch.
   stage: test
+  only:
+    changes:
+      - "Makefile.in"
+      - .gitlab-ci.yml
+      - aclocal.m4
+      - autogen.sh
+      - configure.ac
+      - lisp/*.el
+      - lisp/**/*.el
+      - src/*.{h,m}
+      - test/lisp/*.el
+      - test/lisp/**/*.el
+      - test/src/*.el
+  except:
+    changes:
+      # gfilemonitor, kqueue
+      - src/gfilenotify.c
+      - src/kqueue.c
+      # MS Windows
+      - lisp/w32*.el
+      - lisp/term/w32*.el
+      - src/w32*.{h,m}
+      # GNUstep
+      - lisp/term/ns-win.el
+      - src/ns*.{h,m}
+      - src/macfont.{h,m}
   script:
     - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 inotify-tools
     - ./autogen.sh autoconf