Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip x86-32 job with conf-capnproto #902

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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