Skip to content

Commit

Permalink
opam: avoid runtest on macos (test failure due to sandbox violation, o…
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Oct 12, 2020
1 parent 8f3c498 commit d7caa4d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ca-certs.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ depends: [
"ocaml" {>= "4.07.0"}
"alcotest" {with-test}
]
dev-repo: "git+https://github.com/mirage/ca-certs.git"
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -33,11 +34,10 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
"@runtest" {with-test & os != "macos"} # the opam sandbox on macos leads to test failures (ocaml/opam#4389)
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/mirage/ca-certs.git"
tags: ["org:mirage"]
depexts: [
["ca_root_nss"] {os = "freebsd"}
Expand Down
14 changes: 14 additions & 0 deletions ca-certs.opam.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test & os != "macos"} # the opam sandbox on macos leads to test failures (ocaml/opam#4389)
"@doc" {with-doc}
]
]
tags: ["org:mirage"]
depexts: [
["ca_root_nss"] {os = "freebsd"}
Expand Down

0 comments on commit d7caa4d

Please sign in to comment.