5 ms·
Wow, Good Hack. I also noticed that using so would violate Github action's TOS. I run macos in qemu/kvm . works very good. https://github.com/foxlet/macOS-Sim
by varbhat 6y ago
Wow, Good Hack. I also noticed that using so would violate Github action's TOS.
I run macos in qemu/kvm . works very good.
https://github.com/foxlet/macOS-Simple-KVM https://github.com/foxlet/macOS-Simple-KVM
- chubot 6y agoWow I didn't know you could do this. I thought OS X was tied in some way to Apple hardware (i.e. you can emulate the CPU but they tie it to other hardware). Is this how Github actions and other CI services work? For some reason I thought they had to buy a bunch of Apple hardware ...
- mmastrac 6y ago> I thought OS X was tied in some way to Apple hardware (i.e. you can emulate the CPU but they tie it to other hardware). It is, but very weakly - basically a secret string stored in the SMI. > Is this how Github actions and other CI services work? For some reason I thought they had to buy a bunch of Apple hardware ... You can virtualize MacOS, but only on official Apple hardware. There is likely a fleet of Mac Pros or Mac Minis somewhere running real hardware + VMs. EDIT: Read "You can ..." above as "You are authorized by Apple and can legally virtualize MacOS". You can run OSX on virtually any hardware in a VM, but doing it at scale or in a commercial setting will probably be a bad idea from a legal perspective.
- chubot 6y agoOK so by "can" you mean "according to Apple's TOS" ? Because it seems like you "can" in the technical sense (although I didn't try it, I looked at the code and it looks legit) I imagine that a small CI service could start with the QEMU solution unofficially, but they would likely have to switch to Apple hardware before Apple got wind of it ...
- zymhan 6y agoYou couldn't hide a macOS CI service from Apple for long. You can also get old Xserves and Mac Pros for quite cheap.
- heavyset_go 6y agoNew versions of macOS deprecate support for older hardware. Sierra dropped support for Xserves.
- wheybags 6y ago> You can virtualize MacOS, but only on official Apple hardware. legally only on apple hardware. It does actually work fine on normal PCs though.
- lights0123 6y ago> It is, but very weakly - basically a secret string stored in the SMI. Which, incidentally, is "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
- 7ewis 6y agoInteresting, did some Googling on this and apparently they tried to protect the haiku in court as trade secret: https://www.rcfp.org/wp-content/uploads/imported/20120105_202426_apple_sealing.pdf https://www.rcfp.org/wp-content/uploads/imported/20120105_20... (Direct link to PDF)
- rgovostes 6y agoGitHub uses MacStadium (https://www.macstadium.com/ https://www.macstadium.com/), a cloud provider that exclusively runs Macs mini and Pro, in compliance with Apple's license.
- thesquib 6y agoAny idea of this could run Snow Leopard?
- djsumdog 6y agoI'd be curious to run that too. That was the very last release of macOS I really liked. Everything from that point on went down hill.