`osx_image` is not inherited into explicitly included jobs

Reported at Getting `xcrun: error: unable to find utility "altool", not a developer tool or in PATH`, how can I make `altool` available?.

A minimal reproducing example:

dist: bionic
osx_image: xcode11.3
  - os: linux
  - os: osx

Presumably, during matrix expansion, os defaults to linux, causing osx_image to be ignored.
This ignorance should happen later, after initial configurations for all jobs have been formed.

1 Like