2019-07-29 02:44:09 +02:00
|
|
|
version: 2.1
|
|
|
|
orbs:
|
|
|
|
rust: glotrade/rust@0.1.3
|
2019-07-29 02:51:01 +02:00
|
|
|
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
|
2019-08-03 19:14:28 +02:00
|
|
|
# lint:
|
|
|
|
# executor: rust/default
|
|
|
|
# steps:
|
|
|
|
# - checkout
|
|
|
|
# - rust/update_toolchain
|
|
|
|
# - rust/clippy
|
2019-07-29 02:51:01 +02:00
|
|
|
workflows:
|
|
|
|
default:
|
|
|
|
jobs:
|
2019-08-03 19:14:28 +02:00
|
|
|
# - lint
|
2019-07-29 02:51:01 +02:00
|
|
|
- format
|
|
|
|
- build
|
|
|
|
- test:
|
|
|
|
requires:
|
|
|
|
- build
|