Test compilation during build for non-master branches