diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-29T00·51-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-29T01·08-0400 |
commit | 8f3c83311f13ed28e4d8ad2875c21973ede25b1d (patch) | |
tree | 67d54cabb5bf7dbef29a71ab7f3c60401a5feab7 /.circleci/config.yml | |
parent | 300e14b5fee68f7a70ec16652bbcd047aa304dd7 (diff) |
Check rustfmt and run tests in Circle
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e177bb34887..99ed71cfa44d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,3 +1,36 @@ version: 2.1 orbs: rust: glotrade/rust@0.1.3 +jobs: + build: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/build + test: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/test + format: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/format + lint: + executor: rust/default + steps: + - checkout + - rust/update_toolchain + - rust/clippy +workflows: + default: + jobs: + - format + - build + - test: + requires: + - build |