You can legally run macOS 10.12 in a virtual machine, provided the hypervisor is itself a Mac. The suggested approach is to use the Recovery Partition on your Mac as the basis for a new macOS virtual machine in VMware Fusion, but this never worked for me.
VMware lists these steps for installing macOS using the app package downloaded from the Mac App Store:
- Start VMware Fusion.
- Select File > New.
- Drag Install macOS Sierra.app and drop it into the Create a Virtual Machine window.
- Click Continue.
- Follow the prompts to complete the installation.
- Install VMware Tools.
I’d tried Sierra and High Sierra on my 27-inch iMac, but the macOS installer doesn’t let me progress beyond the initial menu. I’m going to try Mojave on my new MacBook Pro and report back.
If I could get OS/2 going, surely I can get macOS!