Closed dey4ss closed 2 years ago
Do you think it makes sense to add a osx worker to travis?
I think there's no reason not to do so. I'm gonna have a look at it.
@Bouncner after quite some fiddling around, I added a macOS stage. To successfully run the tests, I suppressed memory leak checks when the tests do not run on a Linux machine (valgrind is only available there). Notably, the new CI stage uses Apple's clang rather than the brew version because installing llvm took quite long (up to 10 minutes, whereas the other stages run about 1-2 min). To still get an insight on the used compiler, I print the compiler version in the CI. Furthermore, I updated the current Ubuntu stages to Ubuntu 22.04 with gcc-12/clang-14.
This PR updates the Makefile and the format script to support the different brew library path on ARM Macs. Furthermore, it adds a macOS stage to the CI pipeline.