aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoqbot-app[bot]2021-03-13 19:37:47 +0000
committerGitHub2021-03-13 19:37:47 +0000
commitdef498d87d9ad43e43bd8e6e70b8d8f6ae9272be (patch)
tree97ce65edc51f8621298a7f24bfedf3b0c430cd97
parent953008d7cbb928ca424834bd516c7d21df769fa2 (diff)
parentb1dec36c75d883f84babe534be3a47d44633f4f7 (diff)
Merge PR #13917: Add deriving lib to CI.
Reviewed-by: ejgallego Ack-by: SkySkimmer
-rw-r--r--.gitlab-ci.yml7
-rw-r--r--Makefile.ci2
-rwxr-xr-xdev/ci/ci-basic-overlay.sh5
-rwxr-xr-xdev/ci/ci-deriving.sh10
4 files changed, 24 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d0ffedab2a..a8bca2bffe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -820,6 +820,13 @@ library:ci-vst:
- build:edge+flambda
- library:ci-flocq
+library:ci-deriving:
+ extends: .ci-template-flambda
+ stage: stage-3
+ needs:
+ - build:edge+flambda
+ - library:ci-mathcomp
+
# Plugins are by definition the projects that depend on Coq's ML API
plugin:ci-aac_tactics:
diff --git a/Makefile.ci b/Makefile.ci
index d549ed1b39..c589c95258 100644
--- a/Makefile.ci
+++ b/Makefile.ci
@@ -24,6 +24,7 @@ CI_TARGETS= \
ci-coq_performance_tests \
ci-coq_tools \
ci-coqprime \
+ ci-deriving \
ci-elpi \
ci-engine_bench \
ci-ext_lib \
@@ -74,6 +75,7 @@ ci-color: ci-bignums
ci-coqprime: ci-bignums
ci-coquelicot: ci-mathcomp
+ci-deriving: ci-mathcomp
ci-math_classes: ci-bignums
ci-corn: ci-math_classes
diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh
index 8bcbd90f0b..4799755b15 100755
--- a/dev/ci/ci-basic-overlay.sh
+++ b/dev/ci/ci-basic-overlay.sh
@@ -308,3 +308,8 @@ project sf "https://github.com/DeepSpec/sf" "master"
# Coqtail
########################################################################
project coqtail "https://github.com/whonore/Coqtail" "master"
+
+########################################################################
+# Deriving
+########################################################################
+project deriving "https://github.com/arthuraa/deriving" "master"
diff --git a/dev/ci/ci-deriving.sh b/dev/ci/ci-deriving.sh
new file mode 100755
index 0000000000..ec3625c177
--- /dev/null
+++ b/dev/ci/ci-deriving.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+. "${ci_dir}/ci-common.sh"
+
+install_ssreflect
+
+git_download deriving
+
+( cd "${CI_BUILD_DIR}/deriving" && make && make tests && make install )