image: rust:1.50

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - cargo test -v
          - cargo build --release
          # - cp ./target/release/sha3sum ./packages/generic_linux/sha3sum
          # - tar -C ./packages/generic_linux -cvzf "sha3sum_x86_64.tar.gz" ./
          # - curl -X POST --user "${BB_AUTH_DOWNLOAD}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"sha3sum_x86_64.tar.gz"
