Split test into build and test. Added pipelines for release build.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Leon Wilzer 2024-01-13 21:35:42 +01:00
parent c8fa546a23
commit 202f146467

View File

@ -1,11 +1,18 @@
kind: pipeline kind: pipeline
name: test-on-amd64 name: amd64 [debug]
platform: platform:
arch: amd64 arch: amd64
steps: steps:
- name: test - name: build [debug]
image: rust:alpine
commands:
- rustc --version
- cargo --version
- cargo build --verbose --all
- name: test [debug]
image: rust:alpine image: rust:alpine
commands: commands:
- rustc --version - rustc --version
@ -14,15 +21,52 @@ steps:
--- ---
kind: pipeline kind: pipeline
name: test-on-arm64 name: arm64 [debug]
platform: platform:
arch: arm64 arch: arm64
steps: steps:
- name: test - name: build [debug]
image: rust:alpine
commands:
- rustc --version
- cargo --version
- cargo build --verbose --all
- name: test [debug]
image: rust:alpine image: rust:alpine
commands: commands:
- rustc --version - rustc --version
- cargo --version - cargo --version
- cargo test --verbose --all - 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