RUN ./configure --with-file-notification=gfile
RUN make bootstrap
+FROM emacs-base as emacs-eglot
+
+# We install a recent clangd for Eglot tests.
+RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
+
+COPY . /checkout
+WORKDIR /checkout
+RUN ./autogen.sh autoconf
+RUN ./configure
+RUN make bootstrap
+
FROM emacs-base as emacs-gnustep
RUN apt-get update && \
- test/lisp/autorevert-tests.el
- test/lisp/filenotify-tests.el
+.eglot-template:
+ rules:
+ - if: '$CI_PIPELINE_SOURCE == "web"'
+ - if: '$CI_PIPELINE_SOURCE == "schedule"'
+ changes:
+ - "**.in"
+ - lisp/progmodes/eglot.el
+ - test/infra/*
+ - test/lisp/progmodes/eglot-tests.el
+
.native-comp-template:
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
# This is needed in order to get a JUnit test report.
make_params: '-k -C test check-expensive LOGFILES="lisp/autorevert-tests.log lisp/filenotify-tests.log"'
+build-image-eglot:
+ stage: platform-images
+ extends: [.job-template, .build-template, .eglot-template]
+ variables:
+ target: emacs-eglot
+
+test-eglot:
+ stage: platforms
+ extends: [.job-template, .test-template, .eglot-template]
+ needs:
+ - job: build-image-eglot
+ optional: true
+ variables:
+ target: emacs-eglot
+ # This is needed in order to get a JUnit test report.
+ make_params: '-k -C test check-expensive LOGFILES="lisp/progmodes/eglot-tests.log"'
+
# The next two jobs are commented out due to bug#62210.
# build-image-gnustep: