My aggregated monorepo of OCaml code, automaintained
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add spindle workflow for CI (odoc)

Copies build.yml from origin's tangled mirror into the odoc subtree
so it survives monopam push. Runs dune runtest for odoc and
odoc-parser via nixery.

Combines the effect of origin commits 9ec78243f, b6f4cb732, c4eb108bb
(initial workflow + missing tool deps).

+46
+46
odoc/.tangled/workflows/build.yml
··· 1 + when: 2 + - event: ["push", "pull_request"] 3 + branch: main 4 + 5 + engine: nixery 6 + 7 + dependencies: 8 + nixpkgs: 9 + - ocaml 10 + - opam 11 + - gcc 12 + - gnumake 13 + - pkg-config 14 + - git 15 + - jq 16 + - gnutar 17 + - gzip 18 + - bzip2 19 + - xz 20 + - curl 21 + - unzip 22 + - gnupatch 23 + - rsync 24 + - which 25 + - diffutils 26 + - findutils 27 + - m4 28 + - gnused 29 + - gawk 30 + - gnugrep 31 + 32 + steps: 33 + - name: init opam 34 + command: | 35 + opam init --disable-sandboxing --bare --no-setup -y 36 + opam switch create . ocaml-system --no-install -y 37 + 38 + - name: install dependencies 39 + command: | 40 + eval $(opam env) 41 + opam install --deps-only --with-test -y ./odoc.opam ./odoc-parser.opam 42 + 43 + - name: run tests 44 + command: | 45 + eval $(opam env) 46 + dune runtest -p odoc,odoc-parser