Once per turn, when you end your movement.
You're not ending your movement during the research phase, or at the start of the next turn. During the movement phase is when you end your movement. So if you want to combust that building after you've already moved on it, you have to wait until the next movement phase.
Ok, so its when I am finished with my movement phase. Got it!