diff --git a/.drone.yml b/.drone.yml index 3634d1c..96cd379 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,28 +1,72 @@ -kind: pipeline -name: test-on-amd64 - -platform: - arch: amd64 - -steps: -- name: test - image: rust:alpine - commands: - - rustc --version - - cargo --version - - cargo test --verbose --all - ---- -kind: pipeline -name: test-on-arm64 - -platform: - arch: arm64 - -steps: -- name: test - image: rust:alpine - commands: - - rustc --version - - cargo --version - - cargo test --verbose --all \ No newline at end of file +kind: pipeline +name: amd64 [debug] + +platform: + arch: amd64 + +steps: +- name: build [debug] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo build --verbose --all + +- name: test [debug] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo test --verbose --all + +--- +kind: pipeline +name: arm64 [debug] + +platform: + arch: arm64 + +steps: +- name: build [debug] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo build --verbose --all + +- name: test [debug] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo test --verbose --all + +--- +kind: pipeline +name: amd64 [release] + +platform: + arch: amd64 + +steps: +- name: build and test [release] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo test --verbose --all --release + +--- +kind: pipeline +name: arm64 [release] + +platform: + arch: arm64 + +steps: +- name: build and test [release] + image: rust:alpine + commands: + - rustc --version + - cargo --version + - cargo test --verbose --all --release \ No newline at end of file