PkmnLib_rs/.drone.yml

54 lines
1.3 KiB
YAML
Raw Normal View History

2022-06-11 16:56:17 +00:00
---
kind: pipeline
name: default
type: docker
steps:
- name: test-debug-linux
image: deukhoofd/linux64builder
commands:
2022-06-17 17:58:26 +00:00
- cargo test --color=always
2022-06-11 16:56:17 +00:00
- name: test-release-linux
image: deukhoofd/linux64builder
commands:
2022-06-17 17:58:26 +00:00
- cargo test --release --color=always
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: test-miri-release-linux
image: deukhoofd/linux64builder
2022-06-17 18:42:58 +00:00
environment:
MIRIFLAGS: -Zmiri-disable-isolation
2022-06-11 16:56:17 +00:00
commands:
2022-06-11 17:27:47 +00:00
- cargo miri test --release --color=always
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: test-address-sanitizer
image: deukhoofd/linux64builder
environment:
RUSTFLAGS: -Zsanitizer=address
RUSTDOCFLAGS: -Zsanitizer=address
commands:
- cargo test -Zbuild-std --target x86_64-unknown-linux-gnu --color=always
depends_on:
- test-debug-linux
2022-06-11 16:56:17 +00:00
- name: test-coverage
image: deukhoofd/linux64builder
commands:
2022-06-17 18:38:00 +00:00
- cargo llvm-cov --color=always
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: check-style
image: deukhoofd/linux64builder
failure: ignore
commands:
- cargo fmt --all -- --check
depends_on:
- test-debug-linux
- name: check-clippy
image: deukhoofd/linux64builder
failure: ignore
commands:
- cargo clippy --all-targets --all-features -- -D warnings
depends_on:
- test-debug-linux