This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf-rs/.circleci/config.yml

26 lines
760 B
YAML
Raw Normal View History

2017-08-15 22:22:35 +01:00
version: 2.0
jobs:
build:
docker:
- image: jimmycuadra/rust
working_directory: ~/md-pdf
steps:
- checkout
2017-08-15 22:36:58 +01:00
- restore_cache:
keys:
- cargo
2017-08-15 22:22:35 +01:00
- run: which rustfmt || cargo install rustfmt
2017-08-15 22:36:58 +01:00
- save_cache:
key: cargo
paths:
- ~/.cargo
2017-08-15 22:22:35 +01:00
- run: ./scripts/install-deps.sh
- run: cargo fmt -- --write-mode=diff
- run: cargo build
- run: cargo build --release
- run: cargo test
- run: cargo test --release
- run: cd test-files && cargo run --release -- build
- run: cd test-files && cargo run -- build