diff --git a/CI/.drone.yml b/CI/.drone.yml index f1b442f003e..8594d0b486d 100644 --- a/CI/.drone.yml +++ b/CI/.drone.yml @@ -2,6 +2,17 @@ kind: pipeline name: default steps: +# test ocaml petstore client +- name: ocaml-test + image: ocaml/opam2:4.07 + commands: + - sudo apt-get -y install m4 + - cd samples/client/petstore/ocaml + - opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix + - opam pin add ocaml-migrate-parsetree 1.3.1 + - eval $(opam env) + - sudo chmod -R 777 . + - dune build --build-dir=./_build # test haskell client - name: haskell-client-test image: haskell:8.6.5 @@ -28,13 +39,3 @@ steps: - /bin/bash bin/run-all-petstore # generate all petstore samples (openapi3) - /bin/bash bin/openapi3/run-all-petstore -# test ocaml petstore client -- name: ocaml-test - image: ocaml/opam2:4.07 - commands: - - sudo apt-get -y install m4 - - cd samples/client/petstore/ocaml - - opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1 - - eval $(opam env) - - sudo chmod -R 777 . - - dune build --build-dir=./_build