Summary: Re-add OSX support, and improve the general workflow of the current CI. Edits made: - (osx) use `homebrew` addon for system packages. - (will result in safer builds on both osx and linux) Remove infer from opam switch before cache (keep builds more isolated, and prevent odd timeouts on archive packing on osx) - [`opam update --upgrade` fails](https://travis-ci.org/github/facebook/infer/builds/661635581?utm_source=github_status&utm_medium=notification) due to menhir/infer recompiling at the same time, while menhir is a dependency of infer (this happened in unrelated pr https://github.com/facebook/infer/issues/1237 ) - [archive timeout](https://travis-ci.org/github/facebook/infer/jobs/661141420?utm_medium=notification&utm_source=github_status) - (osx) do not run `opam depexts --upgrade` on macOS; if run, it will [unnecessarily call Homebrew](https://travis-ci.org/github/facebook/infer/jobs/662156953?utm_medium=notification&utm_source=github_status), resulting in a longer build - (osx) Use aspcud on osx as an external solver, otherwise opam runs out of memory - [related build](https://travis-ci.org/github/facebook/infer/builds/660931619?utm_medium=notification&utm_source=github_status) <details> <pre> opam(4068,0x7fffb59d9380) malloc: *** mach_vm_map(size=3039929774538752) failed (error code=3) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Fatal error: out of memory. The command "opam update --upgrade" failed and exited with 2 during . </pre> </details> Pull Request resolved: https://github.com/facebook/infer/pull/1181 Reviewed By: dulmarod Differential Revision: D20513554 Pulled By: jvillard fbshipit-source-id: 5afff146bmaster
parent
982a8dd95b
commit
ba9806292a
Loading…
Reference in new issue