steps:
  - label: ":linux: x86_64"
    command: /bin/true

  - label: ":linux: arm64"
    command: /bin/true

  - label: ":windows: x86_64"
    command: /bin/true

  - label: ":windows: arm64"
    command: /bin/true

  - label: ":macOS: x86_64"
    command: /bin/true

  - label: ":macOS: arm64"
    command: /bin/true

  - wait

  - label: ":bash: :hammer:"
    plugins:
      docker-compose#v2.2.0:
        run: tests

  - label: "㊙️ git-credentials test"
    command: .buildkite/test_credentials.sh
steps:
  - label: ":linux: x86_64"
    command: /bin/true
    env:
      GOOS: linux
      GOARCH: amd64

  - label: ":linux: arm64"
    command: /bin/true
    env:
      GOOS: linux
      GOARCH: arm64

  - label: ":windows: x86_64"
    command: /bin/true
    env:
      GOOS: windows
      GOARCH: amd64

  # Requires golang 1.17 with support for windows/arm64
  # https://tip.golang.org/doc/go1.17
  # https://github.com/golang/go/issues/36439
  # - label: ":windows: arm64"
  #   command: /bin/true
  #   env:
  #     GOOS: windows
  #     GOARCH: arm64

  - label: ":macOS: x86_64"
    command: /bin/true
    env:
      GOOS: darwin
      GOARCH: amd64

  - label: ":macOS: arm64"
    command: /bin/true
    env:
      GOOS: darwin
      GOARCH: arm64

  - wait

  - label: ":bash: :hammer:"
    plugins:
      docker-compose#v2.2.0:
        run: tests

  - label: "㊙️ git-credentials test"
    command: .buildkite/test_credentials.sh
Add GOOS/GOARCH pairs for the build envs
Add GOOS/GOARCH pairs for the build envs
