Update the macOS version used in GitHub Actions
I got an email from GitHub, informing me that macOS 11, which is the version we currently use to build Notes on macOS, will be removed in about a month:
We can probably perform a seamless upgrade to macOS 12, but testing the built binaries and also updating the documentation are a must, of course.
Does that mean that future builds won't work on macOS 11?
Not necessarily, I believe.
It's been a while since I built anything on macOS, but I do remember the CMAKE_OSX_DEPLOYMENT_TARGET CMake option, which we actually use to target our builds for macOS 10.15 (although Qt 6 itself doesn't support that macOS version, which makes it useless, lol).
So we can probably update the GitHub Actions runner to macOS 12, also update CMAKE_OSX_DEPLOYMENT_TARGET to 11.0, and then test the build on a macOS 11 machine.
Haha, sounds good! I wonder how we could get our hands on a macOS 11 machine? Mine is 12. Maybe there are services for that. I've seen somewhere (mentioned in a Qt bug report) about one but forgot to save it.
I wonder how we could get our hands on a macOS 11 machine
Wait, is it not possible to set up a virtual machine on newer macOS to use an older macOS version?
Every macOS-related work I did for Notes, was done using macOS 11 running via QEMU on Linux, so I know that's one possibility. Even though animations were very slow, since it lacked any support for GPU acceleration, it was at least "fast enough" to build, test and debug some issues...
Unfortunately, I don't have that VM set up anymore (I'm running low on disk space, lol), and I don't exactly remember how I set it up, but I probably used this amazing tool.
Though I'm afraid it's Linux-only, unfortunately.
Done in #681.