Skip to content

Commit 6e739ce

Browse files
Merge PR rocq-prover#17678: Add back VsCoq in CI
Reviewed-by: SkySkimmer Co-authored-by: SkySkimmer <[email protected]>
2 parents 94c7acb + edeabbd commit 6e739ce

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

.gitlab-ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ variables:
3535
# $DATE is so we can tell what's what in the image list
3636
# The $hash is the first 10 characters of the md5 of the Dockerfile. e.g.
3737
# echo $(md5sum dev/ci/docker/bionic_coq/Dockerfile | head -c 10)
38-
CACHEKEY: "bionic_coq-V2022-02-16-401854eb90"
38+
CACHEKEY: "bionic_coq-V2023-06-07-de28eea879"
3939
IMAGE: "$CI_REGISTRY_IMAGE:$CACHEKEY"
4040

4141
# By default, jobs run in the base switch; override to select another switch
@@ -932,6 +932,9 @@ plugin:ci-coq_lsp:
932932
- build:edge+flambda
933933
- plugin:ci-serapi
934934

935+
plugin:ci-vscoq:
936+
extends: .ci-template-flambda
937+
935938
plugin:ci-smtcoq:
936939
extends: .ci-template
937940

Makefile.ci

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ CI_TARGETS= \
8181
ci-unimath \
8282
ci-unicoq \
8383
ci-verdi_raft \
84+
ci-vscoq \
8485
ci-vst
8586

8687
.PHONY: ci-all $(CI_TARGETS)

dev/ci/ci-basic-overlay.sh

+5
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,11 @@ project coqtail "https://github.com/whonore/Coqtail" "master"
325325
########################################################################
326326
project deriving "https://github.com/arthuraa/deriving" "master"
327327

328+
########################################################################
329+
# VsCoq
330+
########################################################################
331+
project vscoq "https://github.com/coq-community/vscoq" "main"
332+
328333
########################################################################
329334
# category-theory
330335
########################################################################

dev/ci/ci-vscoq.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
ci_dir="$(dirname "$0")"
6+
. "${ci_dir}/ci-common.sh"
7+
8+
git_download vscoq
9+
10+
if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi
11+
12+
( cd "$CI_BUILD_DIR/vscoq/language-server"
13+
dune build --root . --only-packages=vscoq-language-server @install
14+
dune runtest --root .
15+
)

dev/ci/docker/bionic_coq/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN opam switch create "${COMPILER}+32bit" && eval $(opam env) && \
6666
# EDGE switch
6767
ENV COMPILER_EDGE="4.14.1" \
6868
BASE_OPAM_EDGE="dune.3.6.1 dune-build-info.3.6.1 dune-release.1.6.2 ocamlfind.1.9.5 odoc.2.1.1" \
69-
CI_OPAM_EDGE="elpi.1.16.5 ppx_import.1.10.0 cmdliner.1.1.1 sexplib.v0.15.1 ppx_sexp_conv.v0.15.1 ppx_hash.v0.15.0 ppx_compare.v0.15.0 ppx_deriving_yojson.3.7.0 yojson.1.7.0 uri.4.2.0" \
69+
CI_OPAM_EDGE="elpi.1.16.5 ppx_import.1.10.0 cmdliner.1.1.1 sexplib.v0.15.1 ppx_sexp_conv.v0.15.1 ppx_hash.v0.15.0 ppx_compare.v0.15.0 ppx_deriving_yojson.3.7.0 yojson.1.7.0 uri.4.2.0 ppx_yojson_conv.v0.15.1 ppx_inline_test.v0.15.1 ppx_assert.v0.15.0" \
7070
COQIDE_OPAM_EDGE="lablgtk3-sourceview3.3.1.3"
7171

7272
# EDGE+flambda switch, we install CI_OPAM as to be able to use

0 commit comments

Comments
 (0)