mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
CI and compat with 4.8
This commit is contained in:
parent
c8852b15ab
commit
8c1c38f772
4 changed files with 6 additions and 5 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -17,8 +17,9 @@ jobs:
|
|||
#- macos-latest
|
||||
#- windows-latest
|
||||
ocaml-compiler:
|
||||
- 4.05
|
||||
- 4.14
|
||||
- 4.08.x
|
||||
- 4.14.x
|
||||
- 5.1.x
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
seq
|
||||
base-threads
|
||||
result
|
||||
(ocaml (>= 4.05))
|
||||
(ocaml (>= 4.08))
|
||||
(odoc :with-doc)
|
||||
(conf-libcurl :with-test)
|
||||
(ptime :with-test)
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ module Histogram = struct
|
|||
let create reg ?(tags = []) ?descr ~buckets name : t =
|
||||
opt_iter_ (validate_descr_ "histogram") descr;
|
||||
let buckets =
|
||||
List.sort Float.compare buckets
|
||||
List.sort Stdlib.compare buckets
|
||||
|> List.map (fun thresh -> thresh, A.make 0)
|
||||
in
|
||||
let buckets = Array.of_list @@ buckets @ [ infinity, A.make 0 ] in
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ depends: [
|
|||
"seq"
|
||||
"base-threads"
|
||||
"result"
|
||||
"ocaml" {>= "4.05"}
|
||||
"ocaml" {>= "4.08"}
|
||||
"odoc" {with-doc}
|
||||
"conf-libcurl" {with-test}
|
||||
"ptime" {with-test}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue