Skip to content

Commit

Permalink
Merge pull request #902 from moyodiallo/skip-x32bit-job
Browse files Browse the repository at this point in the history
Skip x86-32 job with conf-capnproto
  • Loading branch information
moyodiallo authored Nov 15, 2023
2 parents 4a62ec2 + 8255f30 commit 8a45743
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 8a45743

Please sign in to comment.