From 06ef1fc78793c8e9e885bb66796b27110ee25fb5 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Mon, 1 Feb 2021 10:50:30 -0500 Subject: [PATCH] ci stuff --- .github/workflows/main.yml | 2 ++ src/dune | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef710005..730cc264 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,8 @@ jobs: with: ocaml-version: ${{ matrix.ocaml-version }} - run: opam pin -n . + # more recent dune breaks the inline tests… because of warn-error 😱 + - run: opam pin dune 2.7.1 -y -n - run: opam depext -yt tiny_httpd tiny_httpd_camlzip - run: opam install -t . --deps-only - run: opam exec -- dune build diff --git a/src/dune b/src/dune index 3ff42e4e..1ee3eba7 100644 --- a/src/dune +++ b/src/dune @@ -3,6 +3,6 @@ (name tiny_httpd) (public_name tiny_httpd) (libraries threads) - (inline_tests (backend qtest.lib) (flags :standard -warn-error -a+8)) + (inline_tests (backend qtest.lib)) (flags :standard -safe-string) (wrapped false))