Build, bootstrap and test everything in one go. Put build artifacts in a separate subdirectory which is emptied at the start of every build.