Common build preparation before parallelization

My Circle builds have two steps: build the software, and test the software. The build phase takes a non-insignificant amount of time. Can I just do this in the ‘pre’ step and use the build artifact in the ‘override’ part?