Parcourir la source

Add m4 dependency to most jobs

Leo il y a 8 ans
Parent
commit
7a5d419fbb
1 fichiers modifiés avec 17 ajouts et 1 suppressions
  1. 17 1
      .gitlab-ci.yml

+ 17 - 1
.gitlab-ci.yml

@@ -6,7 +6,7 @@ stages:
 
 
 # OCaml version 4.02
 # OCaml version 4.02
 ocaml_402:
 ocaml_402:
-  before_script: 
+  before_script:
     - sudo apk update && sudo apk add m4
     - sudo apk update && sudo apk add m4
   stage: test
   stage: test
   image: ocaml/opam:alpine_ocaml-4.02.3
   image: ocaml/opam:alpine_ocaml-4.02.3
@@ -15,6 +15,8 @@ ocaml_402:
 
 
 # OCaml version 4.00
 # OCaml version 4.00
 ocaml_400:
 ocaml_400:
+  before_script:
+    - sudo apk update && sudo apk add m4
   stage: test
   stage: test
   image: ocaml/opam:alpine_ocaml-4.00.1
   image: ocaml/opam:alpine_ocaml-4.00.1
   script: "./gitlab-ci.sh"
   script: "./gitlab-ci.sh"
@@ -22,6 +24,8 @@ ocaml_400:
 
 
 # OCaml version 4.01
 # OCaml version 4.01
 ocaml_401:
 ocaml_401:
+  before_script:
+    - sudo apk update && sudo apk add m4
   stage: test
   stage: test
   image: ocaml/opam:alpine_ocaml-4.01.0
   image: ocaml/opam:alpine_ocaml-4.01.0
   script: "./gitlab-ci.sh"
   script: "./gitlab-ci.sh"
@@ -29,6 +33,8 @@ ocaml_401:
 
 
 # OCaml version 4.03
 # OCaml version 4.03
 ocaml_403:
 ocaml_403:
+  before_script:
+    - sudo apk update && sudo apk add m4
   stage: test
   stage: test
   image: ocaml/opam:alpine_ocaml-4.03.0
   image: ocaml/opam:alpine_ocaml-4.03.0
   script: "./gitlab-ci.sh"
   script: "./gitlab-ci.sh"
@@ -36,6 +42,8 @@ ocaml_403:
 
 
 # OCaml version 4.03
 # OCaml version 4.03
 ocaml_403_flambda:
 ocaml_403_flambda:
+  before_script:
+    - sudo apk update && sudo apk add m4
   stage: test
   stage: test
   image: ocaml/opam:alpine_ocaml-4.03.0_flambda
   image: ocaml/opam:alpine_ocaml-4.03.0_flambda
   script: "./gitlab-ci.sh"
   script: "./gitlab-ci.sh"
@@ -43,6 +51,8 @@ ocaml_403_flambda:
 
 
 # ---------------
 # ---------------
 ubuntu:
 ubuntu:
+  before_script:
+    - sudo apt-get update && sudo apt-get install m4
   stage: real
   stage: real
   image: ocaml/opam:ubuntu
   image: ocaml/opam:ubuntu
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
@@ -50,18 +60,24 @@ ubuntu:
 
 
 
 
 debian:
 debian:
+  before_script:
+    - sudo apt-get update && sudo apt-get install m4
   stage: real
   stage: real
   image: ocaml/opam:debian
   image: ocaml/opam:debian
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   allow_failure: false
   allow_failure: false
 
 
 centos:
 centos:
+  before_script:
+    - sudo dnf install m4-devel
   stage: real
   stage: real
   image: ocaml/opam:centos
   image: ocaml/opam:centos
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   allow_failure: false
   allow_failure: false
 
 
 fedora:
 fedora:
+  before_script:
+    - sudo dnf install m4-devel
   stage: real
   stage: real
   image: ocaml/opam:fedora
   image: ocaml/opam:fedora
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"
   script: "export OC_NOTEST=true; ./gitlab-ci.sh system"