Builds, tests, and runs the project refine main.