remove unsupported platforms from tests

Rather than increase resources for more cross-platform builds, opt to
remove platforms that are not officially supported.
This commit is contained in:
James Bardin 2021-03-30 11:07:01 -04:00
parent 1f53cfcd43
commit 23e08cd064
1 changed files with 2 additions and 12 deletions

View File

@ -134,7 +134,6 @@ jobs:
# build all distros # build all distros
build-distros: &build-distros build-distros: &build-distros
executor: go executor: go
resource_class: medium+
environment: &build-env environment: &build-env
TF_RELEASE: 1 TF_RELEASE: 1
steps: steps:
@ -147,20 +146,12 @@ jobs:
- store_artifacts: - store_artifacts:
path: *ARTIFACTS_DIR path: *ARTIFACTS_DIR
# build all 386 architecture supported OS binaries
build-386:
<<: *build-distros
environment:
<<: *build-env
XC_OS: "freebsd linux openbsd windows"
XC_ARCH: "386"
# build all amd64 architecture supported OS binaries # build all amd64 architecture supported OS binaries
build-amd64: build-amd64:
<<: *build-distros <<: *build-distros
environment: environment:
<<: *build-env <<: *build-env
XC_OS: "darwin freebsd linux solaris windows" XC_OS: "darwin linux windows"
XC_ARCH: "amd64" XC_ARCH: "amd64"
# build all arm architecture supported OS binaries # build all arm architecture supported OS binaries
@ -168,7 +159,7 @@ jobs:
<<: *build-distros <<: *build-distros
environment: environment:
<<: *build-env <<: *build-env
XC_OS: "freebsd linux" XC_OS: "linux"
XC_ARCH: "arm" XC_ARCH: "arm"
test-docker-full: test-docker-full:
@ -296,7 +287,6 @@ workflows:
build-distros: build-distros:
jobs: jobs:
- build-386
- build-amd64 - build-amd64
- build-arm - build-arm