From 7347f55d146936afdd06c5e449246a9b4e6be407 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 3 Mar 2022 22:24:20 -0500 Subject: [PATCH] try to fix CI --- .github/workflows/main.yml | 6 +++--- tiny_httpd.opam | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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}