Adds manual build and build-tests phases.