Add circleci config
This commit is contained in:
parent
78c5bacd4b
commit
49d5a81642
1 changed files with 18 additions and 0 deletions
18
.circleci/config.yml
Normal file
18
.circleci/config.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
version: 2.0
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: jimmycuadra/rust
|
||||
working_directory: ~/md-pdf
|
||||
steps:
|
||||
- checkout
|
||||
- run: which rustfmt || cargo install rustfmt
|
||||
- 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
|
Reference in a new issue