PkmnLib_rs/.drone.yml

45 lines
1.1 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-11 17:27:47 +00:00
- cargo nextest run --color=always
2022-06-11 16:56:17 +00:00
- name: test-release-linux
image: deukhoofd/linux64builder
commands:
2022-06-11 17:27:47 +00:00
- cargo nextest run --release --color=always
2022-06-11 16:56:17 +00:00
depends_on:
- test-debug-linux
- name: test-miri-release-linux
image: deukhoofd/linux64builder
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-11 17:27:47 +00:00
- cargo llvm-cov nextest --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