The past tense of do the groundwork for is did the groundwork for.
The third-person singular simple present indicative form of do the groundwork for is does the groundwork for.
The present participle of do the groundwork for is doing the groundwork for.
The past participle of do the groundwork for is done the groundwork for.