env:
  ARTIFACT_BUCKET: s3://ci-output-sink
steps:
  - label: 'daedalus-x86_64-darwin'
    command: 'scripts/build-installer-unix.sh --build-id $BUILDKITE_BUILD_NUMBER'
    env:
      NIX_SSL_CERT_FILE: /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
    agents:
      queue: daedalus
      system: x86_64-darwin
  - label: 'daedalus-x86_64-linux-nix'
    command: 'scripts/build-installer-nix.sh $BUILDKITE_BUILD_NUMBER'
    agents:
      system: x86_64-linux
  - label: 'daedalus-x86_64-windows-nix'
    command: 'scripts/build-cross-windows.sh $BUILDKITE_BUILD_NUMBER'
    agents:
      system: x86_64-linux

  - label: 'release.nix'
    command: 'ci/check-hydra.sh'
    agents:
      system: x86_64-linux

env:
  ARTIFACT_BUCKET: s3://ci-output-sink
steps:
  - label: 'daedalus-x86_64-darwin'
    command: 'scripts/build-installer-unix.sh --build-id $BUILDKITE_BUILD_NUMBER'
    env:
      NIX_SSL_CERT_FILE: /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
    agents:
      queue: daedalus
      system: x86_64-darwin
  - label: 'daedalus-x86_64-linux-nix'
    command: 'scripts/build-installer-nix.sh $BUILDKITE_BUILD_NUMBER'
    agents:
      system: x86_64-linux
  - label: 'daedalus-x86_64-windows-nix'
    command: 'scripts/build-cross-windows.sh $BUILDKITE_BUILD_NUMBER'
    agents:
      system: x86_64-linux

  # TODO: Re-enable once script is fixed
  # - label: 'release.nix'
  #   command: 'ci/check-hydra.sh'
  #   agents:
  #     system: x86_64-linux

Remove check-hydra script from CI
Remove check-hydra script from CI
