Blek le Rat is a fast, simple template tool for the commandline
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.

.build.yml 530B

1234567891011121314151617181920
  1. image: ubuntu/lts
  2. packages:
  3. - curl
  4. sources:
  5. - https://git.sr.ht/~berkes/blek
  6. environment:
  7. PROJECT_NAME: blek
  8. artifacts:
  9. - "$PROJECT_NAME/target/release/blek"
  10. tasks:
  11. - setup: |
  12. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
  13. - test: |
  14. export PATH="/home/build/.cargo/bin:$PATH"
  15. cd "$PROJECT_NAME"
  16. cargo test --verbose
  17. - build: |
  18. export PATH="/home/build/.cargo/bin:$PATH"
  19. cd "$PROJECT_NAME"
  20. cargo build --release --verbose