mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
cbd78d7fca
* test ocaml petstore * undo directory rename * run eval * install m4 * force yes * fix permission issue * specify build dir * fix dune * give full permission * fix steps * rename test * update ocaml petstore path
21 lines
517 B
YAML
21 lines
517 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
# test Java 11 HTTP client
|
|
- name: java11-test
|
|
image: hirokimatsumoto/alpine-openjdk-11
|
|
commands:
|
|
- ./mvnw clean install
|
|
- ./mvnw --quiet verify -Psamples.droneio
|
|
# 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
|
|
- eval $(opam env)
|
|
- sudo chmod -R 777 .
|
|
- dune build --build-dir=./_build
|