diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6d5caf95..1c002c17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: strategy: - fail-fast: false + fail-fast: true matrix: os: - macos-latest @@ -36,7 +36,7 @@ jobs: - run: opam install . --deps-only --with-test - - run: opam exec -- dune build @install + - run: opam exec -- dune build @install -p tiny_httpd,tiny_httpd_camlzip,curly - - run: opam exec -- dune runtest + - run: opam exec -- dune build @src/runtest @examples/runtest if: ${{ matrix.os == 'ubuntu-latest' }} diff --git a/tiny_httpd.opam b/tiny_httpd.opam index 1e50a45c..631e5d79 100644 --- a/tiny_httpd.opam +++ b/tiny_httpd.opam @@ -12,6 +12,7 @@ build: [ depends: [ "dune" { >= "2.0" } "base-threads" + "result" "ocaml" { >= "4.04.0" } "odoc" {with-doc} "qtest" { >= "2.9" & with-test}