-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcircle.yml
38 lines (38 loc) · 969 Bytes
/
circle.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
version: 2
jobs:
build:
docker:
- image: rust
environment:
- NIGHTLY: nightly-2018-05-25
- RUSTFLAGS: -C link-dead-code
parallelism: 3
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum "circle.yml" }}
- run:
name: Install Dependencies
command: |
apt-get update -y
apt-get install -y \
binutils-dev \
cmake \
gcc \
libcurl4-openssl-dev \
libelf-dev \
libdw-dev \
libiberty-dev
- run:
name: Test
command: scripts/test.sh
- run:
name: Codecov
command: bash <(curl -s https://codecov.io/bash)
- save_cache:
key: cache-{{ checksum "circle.yml" }}
paths:
- /usr/local/bin/kcov
- /usr/local/bin/kcov-system-daemon
- /usr/local/cargo