The San Francisco Giants have agreed to sign free-agent starting pitcher Trevor Cahill to a minor-league contract, The Athletic reported Tuesday night. A source told Ken Rosenthal that Cahill, a right-hander who pitched for the Los Angeles Angels last season, will receive an invitation to spring training. Cahill, an 11-year veteran who will turn 32 next month, will be reunited with new Giants pitching coach Andrew Bailey, a former teammate with the Oakland A's.