Commit Graph

5 Commits (355cd6ccc0f8435fc1d45043e2ffa1f74ee36b94)

Author SHA1 Message Date
yalpul 6b3479108f CI: Make processor count consistent
Code formatting script was using `sysctl -n hw.physicalcpu` on macOS
machines to get the CPU count. This command returns the physical CPUs.
`nproc`, however, returns logical CPU count on Linux machines. It
should be `sysctl -n hw.logicalcpu` to make it consistent with its
Linux counterpart. But there also another way. `getconf
_NPROCESSORS_ONLN` gives the number of logical CPUs on both Linux and
macOS.
2020-03-26 00:20:07 +03:00
Colin Edwards fadbbc9588 CI: Fail osx and linux on build failures. Fix decklink clang-format 2020-02-09 20:02:13 -06:00
Colin Edwards bfb6d50556 CI: Don't run clang format on some submodule plugins 2019-12-09 23:52:59 -08:00
Clayton Groeneveld 53f58ecd45 Exclude build dir from clang format 2019-10-10 01:38:40 -05:00
Colin Edwards 28243dbc94 CI: Run clang format on linux and osx CI and fail if changes are made 2019-07-12 21:44:33 -05:00