--- kind: pipeline type: docker name: default steps: - name: test image: rust:1 commands: - apt-get update -y - apt-get install libasound2-dev -y - cargo build --verbose --all - cargo test --verbose --all - name: release image: rust:1 commands: - apt-get update -y - apt-get install libasound2-dev -y - cargo build --release --verbose --all when: event: tag