Answer
Yes, Rob Riggle did costar with Simon Pegg in the 2015 comedy film Absolutely Anything, directed by Terry Jones and written by Monty Python's Graham Chapman. The movie features the voice of God, portrayed by the late Robin Williams, granting almighty powers to a bewildered school teacher, portrayed by Pegg. Rob Riggle plays General Stanton, a government official eager to exploit these newfound abilities.