diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..c83a999 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2 + +jobs: + build: + docker: + - image: rust:latest + environment: + TZ: "/usr/share/zoneinfo/your/location" + steps: + - checkout + - restore_cache: + key: project-cache + - run: + name: Check formatting + command: cargo fmt -- --check + - run: + name: Stable Build + command: cargo build + - run: + name: Test + command: cargo test + - save_cache: + key: project-cache + paths: + - "~/.cargo" + - "./target"