[Semi-OT] Cross-Platform GitHub Action
Jacob Carlborg
doob at me.com
Wed Jun 9 18:14:20 UTC 2021
On Tuesday, 8 June 2021 at 20:39:45 UTC, Steven Schveighoffer
wrote:
> I might have a need for it. When I moved mysql-native to github
> actions, I could no longer run mysql integration tests on MacOS
> or Windows, since there is no docker support for a mysql
> instance on those platforms. I can probably install mysql
> manually at some point, but I haven't looked into it.
>
> At least for MacOS, this sounds like a way I can run a mysql
> instance that the MacOS host can talk to.
I don't think that would work. The VM is only running during one
step. When the step is done, the VM is terminated. Also, Docker
doesn't support FreeBSD or OpenBSD. I don't plan to add platforms
which GitHub Actions natively support.
On the other hand, it seems pretty straightforward to install
MySQL natively on macOS:
```
brew install mysql
brew services start mysql
```
There are also several GitHub Actions that will setup MySQL:
https://github.com/marketplace?type=actions&query=mysql
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list