How we build at Couchbase - couchbase/sync_gateway GitHub Wiki
We have a Mac build machine that runs a script to set up environments for build, and runs the builder.
Then we run some tests. The tests need their own VMs sometimes. This is all automated.
At the end we post it to a stable build URL for Mac if it passes the tests.
We should do whatever Dustin's doing to get the CBGB build so clean