Split test into build and test. Added pipelines for release build.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c8fa546a23
commit
202f146467
100
.drone.yml
100
.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
|
||||
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
|
Reference in New Issue
Block a user