Expands the release build matrix to include executables for macOS and ARM platforms.
Part of the goal is to simplify the getting started process for challenge authors using Docker Desktop on macOS. This works fine, but previously required building from source.
The utility of the linux/arm64 build is perhaps limited, but it seemed maybe nice-to-have as a futureproofing measure. It could be excluded if you don't think it's worth having.
I didn't actually test the darwin/arm64 build because I don't have an M1 machine... 😔
It would have been nice to do cross-compilation with GOOS alone but apparently this gets tricky when cgo is involved, so I just used the macOS runner.
I considered adding macOS to the test workflow also, but that seemed
Complicated, since the macOS Actions runners don't include Docker support
Maybe unnecessary, since Docker Desktop runs a Linux VM anyway
I didn't pursue a Windows build because in that case it seems easier to just install both Docker and cmgr inside WSL2, whereas on macOS the underlying Linux VM is not suitable for direct use.
Expands the release build matrix to include executables for macOS and ARM platforms.
Part of the goal is to simplify the getting started process for challenge authors using Docker Desktop on macOS. This works fine, but previously required building from source.
linux/arm64
build is perhaps limited, but it seemed maybe nice-to-have as a futureproofing measure. It could be excluded if you don't think it's worth having.darwin/arm64
build because I don't have an M1 machine... 😔GOOS
alone but apparently this gets tricky when cgo is involved, so I just used the macOS runner.