Nick Martinez agreed to a two-year, $44 million deal with the White Sox on Saturday, The Post’s Jon Heyman reported.