You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
550 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: test libpso
  5. steps:
  6. - name: cargo build
  7. image: rustlang/rust:nightly
  8. volumes:
  9. - name: cache
  10. path: /usr/local/cargo
  11. - name: target-cache
  12. path: /drone/src/target
  13. commands:
  14. - cargo build
  15. - name: cargo test
  16. image: rustlang/rust:nightly
  17. volumes:
  18. - name: cache
  19. path: /usr/local/cargo
  20. - name: target-cache
  21. path: /drone/src/target
  22. commands:
  23. - cargo test
  24. volumes:
  25. - name: cache
  26. host:
  27. path: /home/drone/.cargo
  28. - name: target-cache
  29. host:
  30. path: /home/drone/cargo-cache