aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Azevedo de Amorim2021-03-09 09:57:19 -0500
committerArthur Azevedo de Amorim2021-03-11 14:29:10 -0500
commitb1dec36c75d883f84babe534be3a47d44633f4f7 (patch)
tree9e3e386e890df596ddd79f55a16e84d74192fbef
parentb55216ab3509f48e45aac035f1b799529d068f51 (diff)
Add deriving lib to CI.
-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 )