diff options
| author | Michael Albinus | 2023-03-22 15:00:15 +0100 |
|---|---|---|
| committer | Michael Albinus | 2023-03-22 15:00:15 +0100 |
| commit | 5fbda320fc17c539a054c4d48d976a10a2b3a9e6 (patch) | |
| tree | 2547395df1a7332b455542a755794f0575cad56f | |
| parent | 103ebbf92f375cc6f44a2b49c85fbe3a6b1704d4 (diff) | |
| download | emacs-5fbda320fc17c539a054c4d48d976a10a2b3a9e6.tar.gz emacs-5fbda320fc17c539a054c4d48d976a10a2b3a9e6.zip | |
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.
| -rw-r--r-- | test/infra/Dockerfile.emba | 11 | ||||
| -rw-r--r-- | test/infra/gitlab-ci.yml | 27 |
2 files changed, 38 insertions, 0 deletions
diff --git a/test/infra/Dockerfile.emba b/test/infra/Dockerfile.emba index 872591333e6..7451c727624 100644 --- a/test/infra/Dockerfile.emba +++ b/test/infra/Dockerfile.emba | |||
| @@ -60,6 +60,17 @@ RUN ./autogen.sh autoconf | |||
| 60 | RUN ./configure --with-file-notification=gfile | 60 | RUN ./configure --with-file-notification=gfile |
| 61 | RUN make bootstrap | 61 | RUN make bootstrap |
| 62 | 62 | ||
| 63 | FROM emacs-base as emacs-eglot | ||
| 64 | |||
| 65 | # We install a recent clangd for Eglot tests. | ||
| 66 | RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" | ||
| 67 | |||
| 68 | COPY . /checkout | ||
| 69 | WORKDIR /checkout | ||
| 70 | RUN ./autogen.sh autoconf | ||
| 71 | RUN ./configure | ||
| 72 | RUN make bootstrap | ||
| 73 | |||
| 63 | FROM emacs-base as emacs-gnustep | 74 | FROM emacs-base as emacs-gnustep |
| 64 | 75 | ||
| 65 | RUN apt-get update && \ | 76 | RUN apt-get update && \ |
diff --git a/test/infra/gitlab-ci.yml b/test/infra/gitlab-ci.yml index 4e11b1337b5..b2d52117ba4 100644 --- a/test/infra/gitlab-ci.yml +++ b/test/infra/gitlab-ci.yml | |||
| @@ -166,6 +166,16 @@ default: | |||
| 166 | - test/lisp/autorevert-tests.el | 166 | - test/lisp/autorevert-tests.el |
| 167 | - test/lisp/filenotify-tests.el | 167 | - test/lisp/filenotify-tests.el |
| 168 | 168 | ||
| 169 | .eglot-template: | ||
| 170 | rules: | ||
| 171 | - if: '$CI_PIPELINE_SOURCE == "web"' | ||
| 172 | - if: '$CI_PIPELINE_SOURCE == "schedule"' | ||
| 173 | changes: | ||
| 174 | - "**.in" | ||
| 175 | - lisp/progmodes/eglot.el | ||
| 176 | - test/infra/* | ||
| 177 | - test/lisp/progmodes/eglot-tests.el | ||
| 178 | |||
| 169 | .native-comp-template: | 179 | .native-comp-template: |
| 170 | rules: | 180 | rules: |
| 171 | - if: '$CI_PIPELINE_SOURCE == "web"' | 181 | - if: '$CI_PIPELINE_SOURCE == "web"' |
| @@ -229,6 +239,23 @@ test-filenotify-gio: | |||
| 229 | # This is needed in order to get a JUnit test report. | 239 | # This is needed in order to get a JUnit test report. |
| 230 | make_params: '-k -C test check-expensive LOGFILES="lisp/autorevert-tests.log lisp/filenotify-tests.log"' | 240 | make_params: '-k -C test check-expensive LOGFILES="lisp/autorevert-tests.log lisp/filenotify-tests.log"' |
| 231 | 241 | ||
| 242 | build-image-eglot: | ||
| 243 | stage: platform-images | ||
| 244 | extends: [.job-template, .build-template, .eglot-template] | ||
| 245 | variables: | ||
| 246 | target: emacs-eglot | ||
| 247 | |||
| 248 | test-eglot: | ||
| 249 | stage: platforms | ||
| 250 | extends: [.job-template, .test-template, .eglot-template] | ||
| 251 | needs: | ||
| 252 | - job: build-image-eglot | ||
| 253 | optional: true | ||
| 254 | variables: | ||
| 255 | target: emacs-eglot | ||
| 256 | # This is needed in order to get a JUnit test report. | ||
| 257 | make_params: '-k -C test check-expensive LOGFILES="lisp/progmodes/eglot-tests.log"' | ||
| 258 | |||
| 232 | # The next two jobs are commented out due to bug#62210. | 259 | # The next two jobs are commented out due to bug#62210. |
| 233 | 260 | ||
| 234 | # build-image-gnustep: | 261 | # build-image-gnustep: |