archive
/
md-pdf-rs
Archived
1
Fork 0

Use makefile in CI

This commit is contained in:
Jake Howard 2017-08-27 22:26:50 +01:00
parent 91364230a6
commit 4adbe45409
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 7 additions and 4 deletions

View File

@ -14,15 +14,14 @@ jobs:
- run: apt update && apt install -y wget
- run: make lib
- run: cargo fmt -- --write-mode=diff
- run: cargo build
- run: cargo build --release
- run: make build
- run: make release
- save_cache:
key: cargo-{{ checksum "Cargo.lock" }}
paths:
- ~/.cargo
- target/
- run: cargo test
- run: cargo test --release
- run: make test
- run:
command: cargo run -- build
working_directory: ~/md-pdf/test-files

View File

@ -33,4 +33,8 @@ wktox: lib_path
lib: pandoc wktox
test:
cargo test
cargo test --release
.PHONY: build pandoc lib_path wktox