view bitbucket-pipelines.yml @ 632:d0f9898c881f default tip master

Added tag v3.0.0 for changeset 685df78c5778
author Lewin Bormann <lbo@spheniscida.de>
date Thu, 14 Sep 2023 21:54:10 +0200
parents 4d388d72fb14
children
line wrap: on
line source

image: rustlang/rust:nightly

pipelines:
    branches:
        '*':
            - step:
                caches:
                    - cargo
                    - rust-target
                script:
                    - echo "Build project"                    ; cargo build --release
                    - echo "Run unit tests"                   ; cargo test --lib --release -v --no-fail-fast -- --nocapture --test
                    - echo "Run documentation tests"          ; cargo test --doc --release -v --no-fail-fast -- --nocapture --test
definitions:
  caches:
    cargo: /usr/local/cargo # CARGO_HOME
    rust-target: $BITBUCKET_CLONE_DIR/target