forked from MaterializeInc/rust-postgres-array
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
25 lines (25 loc) · 655 Bytes
/
circle.yml
File metadata and controls
25 lines (25 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 2
jobs:
build:
docker:
- image: rust:1.45.0
- image: postgres:12
environment:
POSTGRES_PASSWORD: password
steps:
- checkout
- restore_cache:
key: registry
- run: cargo generate-lockfile
- save_cache:
key: registry-{{ epoch }}
paths:
- /usr/local/cargo/registry/index
- restore_cache:
key: dependencies-1.40-{{ checksum "Cargo.lock" }}
- run: cargo test
- save_cache:
key: dependencies-1.40-{{ checksum "Cargo.lock" }}
paths:
- target
- /usr/local/cargo/registry/cache