Skip to content

Commit

Permalink
Skip x86-32 job with conf-capnproto
Browse files Browse the repository at this point in the history
This is related to this issue mirage/capnp-rpc#273.

This will be solved when a new version of capnproto with this fix
capnproto/capnproto#1830, is release and
published on debian.
  • Loading branch information
moyodiallo committed Nov 15, 2023
1 parent 848cef1 commit 8255f30
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/pipeline.ml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,23 @@ let docker_specs ~analysis =
~analysis (`Lint `Fmt)
:: Spec.opam_monorepo builds
| `Opam_build selections ->
let selections =
(* TODO: This filter will be removed when a new version of debian in which capnproto has this fix "https://github.com/capnproto/capnproto/pull/1830".
* Related to this issue "https://github.com/mirage/capnp-rpc/issues/273" *)
List.filter
(fun s ->
not
(Variant.arch s.Selection.variant == `I386
&& Variant.arch s.Selection.variant == `Aarch32
&& List.find_opt
(fun pkg ->
Astring.String.cut ~sep:"." pkg
|> Option.map fst
|> Option.equal String.equal (Some "conf-capnproto"))
s.Selection.packages
|> Option.is_some))
selections
in
(* For lower-bound, take only the lowest version of OCaml that has a solution *)
let selections =
let lower_bound, other =
Expand Down

0 comments on commit 8255f30

Please sign in to comment.