You can create a new build configuration like this
make sure to check the two options marked in the red box.