terraform/.github/workflows
Martin Atkins 4ec1feaa3d build: CGO_ENABLED when building for macOS
Normally when we cross-compile we do so without CGo, because we don't have
suitable C headers available for systems other than the host.

However, building for macOS on macOS is special because there are
sufficient headers available on darwin_amd64 to build for both
darwin_amd64 _and_ darwin_arm64. Also, we _must_ use CGo on macOS because
the system resolver is only available via darwin's libc, and so building
without CGo produces executables that don't resolve hostnames correctly.

This is a conditional in bash to avoid having to duplicate the entire
step. Perhaps later we'll find a more general version of this which can
avoid the special case, but this is sufficient for the moment.
2022-01-06 14:51:09 -08:00
..
build-Dockerfile Initial work on a new package build process 2022-01-05 14:31:04 -08:00
build.yml build: CGO_ENABLED when building for macOS 2022-01-06 14:51:09 -08:00
issue-comment-created.yml Remove GitHub HashiBot configuration 2021-05-14 13:28:15 -07:00
lock.yml Remove GitHub HashiBot configuration 2021-05-14 13:28:15 -07:00
main.yml Remove backport review teams for now 2020-11-02 10:43:22 -05:00