do the checkout before the cmake