OCaml HTML5 parser/serialiser based on Python's JustHTML
1when:
2 - event: ["push", "pull_request"]
3 branch: ["main"]
4
5engine: nixery
6
7dependencies:
8 nixpkgs:
9 - shell
10 - stdenv
11 - findutils
12 - binutils
13 - libunwind
14 - ncurses
15 - opam
16 - git
17 - gawk
18 - gnupatch
19 - gnum4
20 - gnumake
21 - gnutar
22 - gnused
23 - gnugrep
24 - diffutils
25 - gzip
26 - bzip2
27 - gcc
28 - ocaml
29 - pkg-config
30
31steps:
32 - name: opam
33 command: |
34 opam init --disable-sandboxing -a -y
35 - name: repo
36 command: |
37 opam repo add aoah https://tangled.org/anil.recoil.org/aoah-opam-repo.git
38 - name: switch
39 command: |
40 opam install . --confirm-level=unsafe-yes --deps-only
41 - name: test-suite
42 command: |
43 git submodule update --init
44 - name: build
45 command: |
46 opam exec -- dune build
47 - name: switch-test
48 command: |
49 opam install . --confirm-level=unsafe-yes --deps-only --with-test
50 - name: test
51 command: |
52 opam exec -- dune runtest --verbose
53 - name: doc
54 command: |
55 opam install -y odoc
56 opam exec -- dune build @doc