Add platform for Eglot tests on EMBA

* test/infra/Dockerfile.emba (emacs-eglot): New image.

* test/infra/gitlab-ci.yml (.eglot-template): New template.
(build-image-eglot, test-eglot): New jobs.
This commit is contained in:
Michael Albinus 2023-03-22 15:00:15 +01:00
parent 103ebbf92f
commit 5fbda320fc
2 changed files with 38 additions and 0 deletions

View file

@ -60,6 +60,17 @@ RUN ./autogen.sh autoconf
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 && \

View file

@ -166,6 +166,16 @@ default:
- 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"'
@ -229,6 +239,23 @@ test-filenotify-gio:
# 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: