From 79951a0b2ecf22511b1924ded24e0fab7c71a6e6 Mon Sep 17 00:00:00 2001 From: Allan Blanchard <allan.blanchard@cea.fr> Date: Fri, 8 Jul 2022 17:27:12 +0200 Subject: [PATCH] [ci] polish schedules --- .gitlab-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fa98eccd862..3be36fee6c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -236,6 +236,8 @@ manuals: internal: <<: *internal_template when: manual + except: + - schedules internal_nightly: <<: *internal_template @@ -246,17 +248,27 @@ internal_nightly: # OCaml versions -ocaml-versions: +.build_template: &ocaml_versions_template stage: compatibility script: - ./nix/build-proxy.sh default-config-tests parallel: matrix: - OCAML: ["4.08", "4.13"] + +ocaml-versions: + <<: *ocaml_versions_template # in schedules, each OCAML is tested in its own complete pipeline except: - schedules +ocaml-versions-nightly: + <<: *ocaml_versions_template + # we still check them for the publisher pipeline job + only: + variables: + - $PUBLISH == "yes" + # Opam pin .build_template: &opam_template @@ -272,6 +284,8 @@ ocaml-versions: opam-pin: <<: *opam_template when: manual + except: + - schedules opam-pin-nightly: <<: *opam_template -- GitLab