Move macOS test job to Intel
This is a backport (cherry-pick from master 32108577) to fix the failures of the test job for macOS.
Edited by René de Hesselle
This is a backport (cherry-pick from master 32108577) to fix the failures of the test job for macOS.