You may want to look into Unity Cloud's DevOps solutions for building your project on Unity's backend. You can target any platform, including Mac.
You can find the build automation documentation here. You can also set it up in Unity's cloud dashboard: https://cloud.unity.com/