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,28 +1,72 @@
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 image: rust:alpine
commands: commands:
- rustc --version - rustc --version
- cargo --version - cargo --version
- cargo test --verbose --all - cargo build --verbose --all
--- - name: test [debug]
kind: pipeline image: rust:alpine
name: test-on-arm64 commands:
- rustc --version
platform: - cargo --version
arch: arm64 - cargo test --verbose --all
steps: ---
- name: test kind: pipeline
image: rust:alpine name: arm64 [debug]
commands:
- rustc --version platform:
- cargo --version arch: arm64
- cargo test --verbose --all
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