From b1dec36c75d883f84babe534be3a47d44633f4f7 Mon Sep 17 00:00:00 2001 From: Arthur Azevedo de Amorim Date: Tue, 9 Mar 2021 09:57:19 -0500 Subject: Add deriving lib to CI. --- .gitlab-ci.yml | 7 +++++++ Makefile.ci | 2 ++ dev/ci/ci-basic-overlay.sh | 5 +++++ dev/ci/ci-deriving.sh | 10 ++++++++++ 4 files changed, 24 insertions(+) create mode 100755 dev/ci/ci-deriving.sh 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 ) -- cgit v1.2.3