Files
ohrwurm/.drone.yml
2024-02-14 16:06:24 +01:00

19 lines
493 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: pre-commit
image: iamthefij/drone-pre-commit:latest
commands:
- apt-get update && apt-get install -y cmake
- curl https://sh.rustup.rs -sSf | bash -s -- -y
- export PATH="/root/.cargo/bin:$${PATH}"
- pre-commit run --all-files
- name: test
image: rust:latest
commands:
- apt-get update && apt-get install -y cmake
- cargo build --verbose --all
- cargo test --verbose --all