PkmnLib_rs/.drone.yml

47 lines
1.2 KiB
YAML

---
kind: pipeline
name: default
type: docker
steps:
- name: test-debug-linux
image: deukhoofd/linux64builder
commands:
- cargo test --color=always
- name: test-release-linux
image: deukhoofd/linux64builder
commands:
- cargo test --release --color=always
depends_on:
- test-debug-linux
- name: test-miri-release-linux
image: deukhoofd/linux64builder
environment:
MIRIFLAGS: -Zmiri-disable-isolation
commands:
- cargo miri test --release --color=always
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
- name: test-coverage
image: deukhoofd/linux64builder
commands:
- cargo llvm-cov --color=always
depends_on:
- test-debug-linux
- name: check-style
image: deukhoofd/linux64builder
failure: ignore
commands:
- cargo fmt --all -- --check
depends_on:
- test-debug-linux