about summary refs log blame commit diff
path: root/.circleci/config.yml
blob: ffde5e985462dc9a25bb66c5c78c39efb4cc1869 (plain) (tree)
1
2
3


                           


















                             





                               


          
              




                   
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:
      # - lint
      - format
      - build
      - test:
          requires:
            - build