File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - 4.11.x
2424 - 4
2525 - 5
26+ package :
27+ - ppx_protocol_conv
28+ - ppx_protocol_conv_json
29+ - ppx_protocol_conv_jsonm
30+ - ppx_protocol_conv_msgpack
31+ - ppx_protocol_conv_xml_light
32+ - ppx_protocol_conv_xmlm
33+ - ppx_protocol_conv_yaml
2634
2735 runs-on : ${{ matrix.os }}
2836
@@ -34,15 +42,18 @@ jobs:
3442 uses : ocaml/setup-ocaml@v3
3543 with :
3644 ocaml-compiler : ${{ matrix.ocaml-compiler }}
37- cache : true
3845 dune-cache : true
3946
40- - name : Install dependencies
47+ - name : Install dependencies (${{ matrix.package }})
4148 run : |
42- opam install . --deps-only --with-doc --with-test
49+ opam_files="./ppx_protocol_conv.opam"
50+ if [ "${{ matrix.package }}" != "ppx_protocol_conv" ]; then
51+ opam_files="$opam_files ./${{ matrix.package }}.opam"
52+ fi
53+ opam install $opam_files --deps-only --with-doc --with-test
4354
44- - name : Build
45- run : opam exec -- dune build @install
55+ - name : Build (${{ matrix.package }})
56+ run : opam exec -- dune build -p ${{ matrix.package }} @install
4657
47- - name : Test
48- run : opam exec -- dune runtest
58+ - name : Test (${{ matrix.package }})
59+ run : opam exec -- dune runtest -p ${{ matrix.package }}
You can’t perform that action at this time.
0 commit comments