Merge pull request #9077 from hashicorp/remove-freebsd-builds
scripts/build: Remove unsupported Freebsd/arm builds from build chain
This commit is contained in:
commit
774f77f0a2
|
@ -4,6 +4,7 @@
|
|||
# Determine the arch/os combos we're building for
|
||||
ALL_XC_ARCH="386 amd64 arm arm64 ppc64le mips mips64 mipsle mipsle64 s390x"
|
||||
ALL_XC_OS="linux darwin windows freebsd openbsd solaris"
|
||||
SKIPPED_OSARCH="!darwin/arm !darwin/arm64 !freebsd/arm !freebsd/arm64"
|
||||
|
||||
# Exit immediately if a command fails
|
||||
set -e
|
||||
|
@ -130,7 +131,7 @@ set +e
|
|||
${GOX:?command not found} \
|
||||
-os="${XC_OS:-$ALL_XC_OS}" \
|
||||
-arch="${XC_ARCH:-$ALL_XC_ARCH}" \
|
||||
-osarch="!darwin/arm !darwin/arm64" \
|
||||
-osarch="${SKIPPED_OSARCH}" \
|
||||
-ldflags "${GOLDFLAGS}" \
|
||||
-output "pkg/{{.OS}}_{{.Arch}}/packer" \
|
||||
.
|
||||
|
|
Loading…
Reference in New Issue