Some links and hints and stuff on development tools on MacOS
Running Ubuntu on a MacBook Pro
After messing around quite a bit: I can't recommend doing it. Most things can get running, but battery life stayed an issue (as switching from internal to dedicated GPU never really worked).
The attempt and experiments where made with a MacBook Pro 2013.
Starting here: How to Install Ubuntu on a MacBook Pro
Intel Graphics Drivers:
Fan-Control tool to closer emulate the MacBook behavior.