Skip to content
Snippets Groups Projects
config.yml 499 B
Newer Older
Louis's avatar
Louis committed
version: 2

jobs:
  build:
    docker:
      # The image used to build our project, build
      # your own using the Dockerfile provided below
      # and replace here. I put my own image here for
      # the example.
      - image: abronan/rust-circleci:latest
Louis's avatar
Louis committed
    steps:
      - checkout
Louis's avatar
Louis committed
      - run: rustup update
      - restore_cache:
          key: cargo-cache
Louis's avatar
Louis committed
      - run: rustup run nightly cargo build
Louis's avatar
Louis committed
      - save_cache:
          key: cargo-cache
          paths:
            - "~/.cargo"