This commit is contained in:
2024-02-14 15:53:14 +01:00
parent c53b2bba49
commit 96f5e4e063
4 changed files with 33 additions and 2 deletions

18
.drone.yml Normal file
View File

@@ -0,0 +1,18 @@
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