forked from loafle/openapi-generator-original
Fix drone.io yaml file (#4528)
* fix yaml file * remove version * pin version
This commit is contained in:
parent
244c6e358c
commit
8ca1788a75
@ -2,6 +2,17 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
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
|
# test haskell client
|
||||||
- name: haskell-client-test
|
- name: haskell-client-test
|
||||||
image: haskell:8.6.5
|
image: haskell:8.6.5
|
||||||
@ -28,13 +39,3 @@ steps:
|
|||||||
- /bin/bash bin/run-all-petstore
|
- /bin/bash bin/run-all-petstore
|
||||||
# generate all petstore samples (openapi3)
|
# generate all petstore samples (openapi3)
|
||||||
- /bin/bash bin/openapi3/run-all-petstore
|
- /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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user