-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
36 lines (29 loc) · 855 Bytes
/
config.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
version: 2
jobs:
build:
docker:
- image: circleci/rust:latest
steps:
- checkout
- restore_cache:
key: project-cache
- run:
name: Prepare build
command: make rustup
- run:
# NB: this GCC is (still?) broken, but should suffice for building
# NB: needed for littlefs
name: Install ARM gcc
command: sudo apt-get update && sudo apt-get install gcc-arm-none-eabi libclang-dev libnewlib-dev
- run:
# NB: need cdefs.h for littlefs
name: Install cdefs.h
command: sudo apt-get update && sudo apt-get install libc6-dev
- run:
name: Build the firmware
command: make build
- save_cache:
key: project-cache
paths:
- "~/.cargo"
- "./target"