Automation on validation on all SDK variants

We have a project with 7 different target which builds different framework but sharing some common files. What is the best way to automate testing of all frameworks variants.
Automation on validation on all SDK variants
 
 
Q